Click or drag to resize

imbTypeExtensionsimbToBoolean Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Konvertuje bilo koju vrednost u Boolean

Namespace:  imbSCI.Core.extensions.typeworks
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static bool imbToBoolean(
	this Object input,
	bool defaultResult = false
)
Request Example View Source

Parameters

input
Type: SystemObject
Objekat razlicite vrednosti
defaultResult (Optional)
Type: SystemBoolean
Rezultat koji se vraca ako je null. Kontra od ovoga ce vratiti ako je u pitanju instanca

Return Value

Type: Boolean
true ili false u skladu sa konverzijom

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Object. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also