편집

다음을 통해 공유


ActivityTypeCodeDomSerializer.GetInitializeMethod Method

Definition

Returns the method where the statements used to serialize a member are stored.

protected:
 override System::CodeDom::CodeMemberMethod ^ GetInitializeMethod(System::ComponentModel::Design::Serialization::IDesignerSerializationManager ^ manager, System::CodeDom::CodeTypeDeclaration ^ typeDecl, System::Object ^ value);
protected override System.CodeDom.CodeMemberMethod GetInitializeMethod (System.ComponentModel.Design.Serialization.IDesignerSerializationManager manager, System.CodeDom.CodeTypeDeclaration typeDecl, object value);
override this.GetInitializeMethod : System.ComponentModel.Design.Serialization.IDesignerSerializationManager * System.CodeDom.CodeTypeDeclaration * obj -> System.CodeDom.CodeMemberMethod
Protected Overrides Function GetInitializeMethod (manager As IDesignerSerializationManager, typeDecl As CodeTypeDeclaration, value As Object) As CodeMemberMethod

Parameters

manager
IDesignerSerializationManager

The serialization manager to use for serialization.

typeDecl
CodeTypeDeclaration

The CodeTypeDeclaration to use for serialization.

value
Object

The Object to use for serialization.

Returns

The CodeMemberMethod used to emit all of the initialization code for the given member.

Exceptions

manager, typeDecl, or value contains a null reference (Nothing in Visual Basic).

Remarks

The returned method is determined from a method key found in the user data associated with typeDecl. If there is no method key, GetInitializeMethod creates a new CodeMemberMethod.

Applies to