共用方式為


ActivityTypeCodeDomSerializer.GetInitializeMethods 方法

定義

傳回要在還原序列化期間解譯的方法陣列。

protected:
 override cli::array <System::CodeDom::CodeMemberMethod ^> ^ GetInitializeMethods(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::CodeDom::CodeTypeDeclaration ^ typeDecl);
protected override System.CodeDom.CodeMemberMethod[] GetInitializeMethods (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.CodeDom.CodeTypeDeclaration typeDecl);
override this.GetInitializeMethods : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * System.CodeDom.CodeTypeDeclaration -> System.CodeDom.CodeMemberMethod[]
Protected Overrides Function GetInitializeMethods (manager As IDesignerSerializationManager, typeDecl As CodeTypeDeclaration) As CodeMemberMethod()

參數

manager
IDesignerSerializationManager

用於序列化的序列化管理員。

typeDecl
CodeTypeDeclaration

供序列化使用的 CodeTypeDeclaration

傳回

方法的 CodeMemberMethod 陣列,要在序列化期間解譯。

例外狀況

managertypeDecl 包含 null 參考 (在 Visual Basic 中為 Nothing)。

適用於