Serializes the given property of the given command. Uses the Key property as the key. Uses the TypeConverter defined on the PropertyDescriptor to serialize the value.

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 prop,
	CommandParameterPropertyAttribute commandAttribute
)
Visual Basic (Declaration)
Protected Overridable Function SerializeProperty ( _
	command As EndecaCommand, _
	prop As PropertyDescriptor, _
	commandAttribute As CommandParameterPropertyAttribute _
) As KeyValuePair(Of String, String)
Visual C++
protected:
virtual KeyValuePair<String^, String^> SerializeProperty(
	EndecaCommand^ command, 
	PropertyDescriptor^ prop, 
	CommandParameterPropertyAttribute^ commandAttribute
)

Parameters

command
Type: Endeca.Data.Provider..::.EndecaCommand
Command instance whose property value should be serialized.
prop
Type: System.ComponentModel..::.PropertyDescriptor
Property whose value should be serialized.
commandAttribute
Type: Endeca.Data..::.CommandParameterPropertyAttribute
Attribute decorating the command property.

Return Value

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

See Also