Click or drag to resize

imbPropertyCollectionExtensionsbuildPropertyCollectionT Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Create or update property collection out of object properties

Namespace:  imbSCI.Core.extensions.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static T buildPropertyCollection<T>(
	this Object source,
	bool doOnlyWithDisplayName,
	bool doInherited,
	string filedName_prefix = "",
	T output = null,
	params string[] fieldsOrCategoriesToShow
)
where T : new(), PropertyCollection
Request Example View Source

Parameters

source
Type: SystemObject
doOnlyWithDisplayName
Type: SystemBoolean
doInherited
Type: SystemBoolean
filedName_prefix (Optional)
Type: SystemString
output (Optional)
Type: T
fieldsOrCategoriesToShow
Type: SystemString

Type Parameters

T

Return Value

Type: T

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).
Remarks

Key is original property name - not displayName

See Also