Returns a serialized representation of the value of the specified property of the specified command.

Namespace:  Endeca.Data
Assembly:  Endeca.Data (in Endeca.Data.dll) Version: 2.1.3.0 (2.1.3.622)

Syntax

C#
protected virtual KeyValuePair<string, string> SerializeProperty(
	EndecaCommand command,
	PropertyDescriptor property,
	CommandParameterPropertyAttribute commandAttribute,
	Object propertyValue
)
Visual Basic (Declaration)
Protected Overridable Function SerializeProperty ( _
	command As EndecaCommand, _
	property As PropertyDescriptor, _
	commandAttribute As CommandParameterPropertyAttribute, _
	propertyValue As Object _
) As KeyValuePair(Of String, String)
Visual C++
protected:
virtual KeyValuePair<String^, String^> SerializeProperty(
	EndecaCommand^ command, 
	PropertyDescriptor^ property, 
	CommandParameterPropertyAttribute^ commandAttribute, 
	Object^ propertyValue
)

Parameters

command
Type: Endeca.Data.Provider..::.EndecaCommand
Command whose property value should be serialized.
property
Type: System.ComponentModel..::.PropertyDescriptor
Property whose value should be serialized.
commandAttribute
Type: Endeca.Data..::.CommandParameterPropertyAttribute
Attribute decorating the command property.
propertyValue
Type: System..::.Object
The property value to serialize.

Return Value

A pair whose key represents an identifier for the specified property, and whose value is a serialized from of the property value.

Remarks

This method returns a key value pair in which the key is the value of the Key property of commandAttribute, and the value is the value produced by the TypeConverter associated with property.

See Also