TypeCodeDomSerializer.GetInitializeMethods Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.