TypeCodeDomSerializer.GetInitializeMethods 方法

定义

返回要在反序列化期间解释的方法数组。

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

参数

manager
IDesignerSerializationManager

用于序列化的序列化管理器。

declaration
CodeTypeDeclaration

用于序列化的类型声明。

返回

要在反序列化期间解释的方法的 CodeMemberMethod 数组。

例外

managertypeDeclnull

注解

默认实现返回包含构造函数的单元素数组。

适用于

另请参阅