System.CodeDom.CodeMemberMethod Class

Represents a declaration for a method of a type.

See Also: CodeMemberMethod Members

Syntax

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class CodeMemberMethod : CodeTypeMember

Remarks

System.CodeDom.CodeMemberMethod can be used to represent the declaration for a method.

The CodeMemberMethod.ReturnType property specifies the data type of the method's return value. The CodeMemberMethod.Parameters property contains the method's parameters. The CodeMemberMethod.Statements property contains the statements of the method.

Requirements

Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0