Click or drag to resize

imbPropertyCollectionExtensionsgetProperString Method (PropertyCollection, Enum)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Finds the first proper value (not empty, not null) in source using fiven fields

Namespace:  imbSCI.Core.extensions.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static string getProperString(
	this PropertyCollection source,
	params Enum[] fields
)
Request Example View Source

Parameters

source
Type: System.DataPropertyCollection
The source.
fields
Type: SystemEnum
The fields to test for proper value. Follows the given order

Return Value

Type: String
First proper value found

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PropertyCollection. 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