Creates a values collection from the specified item containing only the specified properties.

Namespace: Simol
Assembly: Simol (in Simol.dll) Version: 1.0.0.0

Syntax

C#
public static PropertyValues CreateValues(
	Object item,
	params string[] propertyNames
)
Visual Basic
Public Shared Function CreateValues ( _
	item As Object, _
	ParamArray propertyNames As String() _
) As PropertyValues
Visual C++
public:
static PropertyValues^ CreateValues(
	Object^ item, 
	... array<String^>^ propertyNames
)

Parameters

item
Type: System..::..Object
The item.
propertyNames
Type: array<System..::..String>[]()[][]
The property names.

Return Value

Remarks

The returned values collection will contain entries only the specified properties (including null-value properties).

See Also