Export (0) Print
Expand All

CodeTypeMember Class

Provides a base class for a member of a type. Type members include fields, methods, properties, constructors and nested types.

For a list of all members of this type, see CodeTypeMember Members.

System.Object
   System.CodeDom.CodeObject
      System.CodeDom.CodeTypeMember
         Derived classes

[Visual Basic]
<Serializable>
<ClassInterface(ClassInterfaceType.AutoDispatch)>
<ComVisible(True)>
Public Class CodeTypeMember
   Inherits CodeObject
[C#]
[Serializable]
[ClassInterface(ClassInterfaceType.AutoDispatch)]
[ComVisible(true)]
public class CodeTypeMember : CodeObject
[C++]
[Serializable]
[ClassInterface(ClassInterfaceType::AutoDispatch)]
[ComVisible(true)]
public __gc class CodeTypeMember : public CodeObject
[JScript]
public
   Serializable
 ClassInterface(ClassInterfaceType.AutoDispatch)
 ComVisible(true)
class CodeTypeMember extends CodeObject

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Remarks

CodeTypeMember 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.

Requirements

Namespace: System.CodeDom

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System (in System.dll)

See Also

CodeTypeMember Members | System.CodeDom Namespace | CodeTypeMemberCollection | MemberAttributes | CodeAttributeDeclarationCollection

Show:
© 2014 Microsoft