Rediger

Del via


TypeCodeDomSerializer.GetInitializeMethods Method

Definition

Returns an array of methods to be interpreted during deserialization.

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()

Parameters

manager
IDesignerSerializationManager

The serialization manager to use for serialization.

declaration
CodeTypeDeclaration

The type declaration to use for serialization.

Returns

A CodeMemberMethod array of methods to be interpreted during deserialization.

Exceptions

manager or typeDecl is null.

Remarks

The default implementation returns a single-element array with the constructor in it.

Applies to

See also