System.CodeDom.CodeMemberMethod Members

The members of System.CodeDom.CodeMemberMethod are listed below.

See Also: Inherited members from System.CodeDom.CodeTypeMember

Public Constructors

Initializes a new instance of the System.CodeDom.CodeMemberMethod class.

Public Properties

[read-only]
ImplementationTypesCodeTypeReferenceCollection.

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.

[read-only]
ParametersCodeParameterDeclarationExpressionCollection.

Gets the parameter declarations for the method.

PrivateImplementationTypeCodeTypeReference.

Gets or sets the data type of the interface this method, if private, implements a method of, if any.

ReturnTypeCodeTypeReference.

Gets or sets the data type of the return value of the method.

[read-only]
ReturnTypeCustomAttributesCodeAttributeDeclarationCollection.

Gets the custom attributes of the return type of the method.

[read-only]
StatementsCodeStatementCollection.

Gets the statements within the method.

[read-only]
TypeParametersCodeTypeParameterCollection.

Gets the type parameters for the current generic method.

Public Events

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.