Click or drag to resize

imbPropertyCollectionExtensionssetToObject Method (PropertyCollection, Object, Enum, String)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Sets to object.

Namespace:  imbSCI.Core.extensions.data
Assembly:  imbSCI.Core (in imbSCI.Core.dll) Version: 0.3.58.
Syntax
C#
public static bool setToObject(
	this PropertyCollection source,
	Object target,
	Enum field,
	string prefix = ""
)
Request Example View Source

Parameters

source
Type: System.DataPropertyCollection
The source.
target
Type: SystemObject
The target.
field
Type: SystemEnum
The field.
prefix (Optional)
Type: SystemString
The prefix that will help more efficient execution

Return Value

Type: Boolean

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