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.DataAssembly: Endeca.Data (in Endeca.Data.dll) Version: 2.1.1.0 (2.1.1.620)
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.