Returns a value indicating if the specified serialized property value should be included
in the state string that is produced by
SerializeCommand(EndecaCommand, CommandSerializationContext).
Namespace:
Endeca.DataAssembly: Endeca.Data (in Endeca.Data.dll) Version: 2.1.1.0 (2.1.1.620)
Syntax
C# |
---|
protected virtual bool ShouldIncludeSerializedProperty( EndecaCommand command, PropertyDescriptor property, CommandParameterPropertyAttribute commandAttribute, string serializedPropertyValue, CommandSerializationContext context ) |
Visual Basic (Declaration) |
---|
Protected Overridable Function ShouldIncludeSerializedProperty ( _ command As EndecaCommand, _ property As PropertyDescriptor, _ commandAttribute As CommandParameterPropertyAttribute, _ serializedPropertyValue As String, _ context As CommandSerializationContext _ ) As Boolean |
Visual C++ |
---|
protected: virtual bool ShouldIncludeSerializedProperty( EndecaCommand^ command, PropertyDescriptor^ property, CommandParameterPropertyAttribute^ commandAttribute, String^ serializedPropertyValue, CommandSerializationContext^ context ) |
Parameters
- command
- Type: Endeca.Data.Provider..::.EndecaCommand
Command from which the property value was serialized.
- property
- Type: System.ComponentModel..::.PropertyDescriptor
Property from which the property value was serialized.
- commandAttribute
- Type: Endeca.Data..::.CommandParameterPropertyAttribute
Attribute decorating the property.
- serializedPropertyValue
- Type: System..::.String
Serialized representation of the property value.
- context
- Type: Endeca.Data..::.CommandSerializationContext
Provides additional contextual information. A subclass perhaps might use the DefaultCommand when determining whether to include the serialized property value.
Remarks
By default this method returns true.