CodeDomSerializer.SerializeMember 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在指定的物件上將指定的成員序列化。
public:
virtual System::CodeDom::CodeStatementCollection ^ SerializeMember(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::Object ^ owningObject, System::ComponentModel::MemberDescriptor ^ member);
public virtual System.CodeDom.CodeStatementCollection SerializeMember (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, object owningObject, System.ComponentModel.MemberDescriptor member);
abstract member SerializeMember : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj * System.ComponentModel.MemberDescriptor -> System.CodeDom.CodeStatementCollection
override this.SerializeMember : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * obj * System.ComponentModel.MemberDescriptor -> System.CodeDom.CodeStatementCollection
Public Overridable Function SerializeMember (manager As IDesignerSerializationManager, owningObject As Object, member As MemberDescriptor) As CodeStatementCollection
參數
- manager
- IDesignerSerializationManager
用於序列化的序列化管理員。
- owningObject
- Object
物件,member
附加於此。
- member
- MemberDescriptor
要序列化的成員。
傳回
表示 member
序列化狀態的 CodeStatementCollection。
例外狀況
manager
、owningObject
或 member
為 null
。
member
不是可序列化的類型。