Click or drag to resize

imbStringFormatstoStringSafe Method (Object, String, String)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Bezbedna konverzija u String -- ako je null onda valueForNull

Namespace:  imbSCI.Core.extensions.text
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string toStringSafe(
	this Object source,
	string valueForNull,
	string numberFormat
)
Request Example View Source

Parameters

source
Type: SystemObject
valueForNull
Type: SystemString
numberFormat
Type: SystemString

Return Value

Type: String
ako je null onda valueForNull

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