CodeDomSerializerBase.SerializeProperty Metoda

Definice

Serializuje vlastnost daného objektu.

protected:
 void SerializeProperty(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::CodeDom::CodeStatementCollection ^ statements, System::Object ^ value, System::ComponentModel::PropertyDescriptor ^ propertyToSerialize);
protected void SerializeProperty (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.CodeDom.CodeStatementCollection statements, object value, System.ComponentModel.PropertyDescriptor propertyToSerialize);
member this.SerializeProperty : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * System.CodeDom.CodeStatementCollection * obj * System.ComponentModel.PropertyDescriptor -> unit
Protected Sub SerializeProperty (manager As IDesignerSerializationManager, statements As CodeStatementCollection, value As Object, propertyToSerialize As PropertyDescriptor)

Parametry

statements
CodeStatementCollection

Do CodeStatementCollection kterého bude vlastnost serializována.

value
Object

Objekt, na kterém bude serializována vlastnost.

propertyToSerialize
PropertyDescriptor

Vlastnost serializovat.

Výjimky

manager, value, statementsnebo propertyToSerialize je null.

Poznámky

Metoda SerializeProperty načte MemberCodeDomSerializer parametr a propertyToSerialize deleguje ho.

SerializePropertystatements umístí parametry a propertyToSerialize na ContextStack.

Platí pro

Viz také