[Serializable] |
ctor #1 | Default constructor. This constructor is called by derived class constructors to initialize state in this type. |
Attributes (inherited from�System.CodeDom.CodeTypeMember) |
Read-write See base class member description: System.CodeDom.CodeTypeMember.Attributes Gets or sets the attributes of the member. |
Comments (inherited from�System.CodeDom.CodeTypeMember) |
Read-only See base class member description: System.CodeDom.CodeTypeMember.Comments Gets the comment collection for the type member. |
CustomAttributes (inherited from�System.CodeDom.CodeTypeMember) |
Read-write See base class member description: System.CodeDom.CodeTypeMember.CustomAttributes Gets or sets the custom attributes of the member. |
ImplementationTypes | Read-only Gets the data types of the interfaces implemented by this method, unless it is a private method implementation, which is indicated by the CodeMemberMethod.PrivateImplementationType property. |
LinePragma (inherited from�System.CodeDom.CodeTypeMember) |
Read-write See base class member description: System.CodeDom.CodeTypeMember.LinePragma Gets or sets the line the statement occurs on. |
Name (inherited from�System.CodeDom.CodeTypeMember) |
Read-write See base class member description: System.CodeDom.CodeTypeMember.Name Gets or sets the name of the member. |
Parameters | Read-only Gets the parameter declarations for the method. |
PrivateImplementationType | Read-write Gets or sets the data type of the interface this method, if private, implements a method of, if any. |
ReturnType | Read-write Gets or sets the data type of the return value of the method. |
ReturnTypeCustomAttributes | Read-only Gets the custom attributes of the return type of the method. |
Statements | Read-only Gets the statements within the method. |
UserData (inherited from�System.CodeDom.CodeObject) |
Read-only See base class member description: System.CodeDom.CodeObject.UserData Gets or sets the user-definable data for the current object. |
Equals (inherited from�System.Object) |
See base class member description: System.Object.Equals Derived from System.Object, the primary base class for all objects. |
GetHashCode (inherited from�System.Object) |
See base class member description: System.Object.GetHashCode Derived from System.Object, the primary base class for all objects. |
GetType (inherited from�System.Object) |
See base class member description: System.Object.GetType Derived from System.Object, the primary base class for all objects. |
ToString (inherited from�System.Object) |
See base class member description: System.Object.ToString Derived from System.Object, the primary base class for all objects. |
PopulateImplementationTypes | An event that will be raised the first time the CodeMemberMethod.ImplementationTypes collection is accessed. |
PopulateParameters | An event that will be raised the first time the CodeMemberMethod.Parameters collection is accessed. |
PopulateStatements | An event that will be raised the first time the CodeMemberMethod.Statements collection is accessed. |
Finalize (inherited from�System.Object) |
See base class member description: System.Object.Finalize Derived from System.Object, the primary base class for all objects. |
MemberwiseClone (inherited from�System.Object) |
See base class member description: System.Object.MemberwiseClone Derived from System.Object, the primary base class for all objects. |
Hierarchy:
public CodeMemberMethod(); |
public MemberAttributes�Attributes {get; set;}
|
public CodeCommentStatementCollection�Comments {get;}
|
public CodeAttributeDeclarationCollection�CustomAttributes {get; set;}
|
public CodeTypeReferenceCollection�ImplementationTypes {get;}
|
If this CodeMemberMethod represents a declaration for a public method, and this method implements a method on an interface, the interface or interfaces this method implements a method of should be referenced in this collection.
The method should still have the same name as the method of the interface that is implemented by this method. For some languages, like C#, this has no effect on the syntax. For others, like Visual Basic, there is a special syntax for implementing interfaces. If the method is privately implementing a single interface, the CodeMemberMethod.PrivateImplementationType property should be used instead.
public CodeLinePragma�LinePragma {get; set;}
|
public string�Name {get; set;}
|
public CodeParameterDeclarationExpressionCollection�Parameters {get;}
|
public CodeTypeReference�PrivateImplementationType {get; set;}
|
The type referenced by this property must be an interface.
public CodeTypeReference�ReturnType {get; set;}
|
public CodeAttributeDeclarationCollection�ReturnTypeCustomAttributes {get;}
|
public CodeStatementCollection�Statements {get;}
|
public IDictionary�UserData {get;}
|
~CodeMemberMethod(); |
public virtual int�GetHashCode(); |
public Type�GetType(); |
protected object�MemberwiseClone(); |
public virtual string ToString(); |
public event EventHandler PopulateImplementationTypes;
|
public event EventHandler PopulateParameters;
|
public event EventHandler PopulateStatements;
|