Type Member Class
Provides a base class for a member of a type. Type members include fields, methods, properties, constructors and nested types.
public ref class CodeTypeMember : System::CodeDom::CodeObject
[System.Runtime.InteropServices.ComVisible(true)] [System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)] [System.Serializable] public class CodeTypeMember : System.CodeDom.CodeObject
type CodeTypeMember = class inherit CodeObject
Public Class CodeTypeMember Inherits CodeObject
The CodeTypeMember class can be used to represent the declaration for a member of a type. CodeTypeMember is a base class from which more specific types of members are derived, such as CodeMemberField and CodeMemberMethod. This class contains properties and methods common to all type members.
Initializes a new instance of the CodeTypeMember class.
Gets or sets the attributes of the member.
Gets the collection of comments for the type member.
Gets or sets the custom attributes of the member.
Gets the end directives for the member.
Gets or sets the line on which the type member statement occurs.
Gets or sets the name of the member.
Gets the start directives for the member.
Gets the user-definable data for the current object.(Inherited from CodeObject)
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Returns a string that represents the current object.(Inherited from Object)