CodeTypeDeclaration Properties

The CodeTypeDeclaration type exposes the following members.

  Name Description
Public property Attributes Gets or sets the attributes of the member. (Inherited from CodeTypeMember.)
Public property BaseTypes Gets the base types of the type.
Public property Comments Gets the collection of comments for the type member. (Inherited from CodeTypeMember.)
Public property CustomAttributes Gets or sets the custom attributes of the member. (Inherited from CodeTypeMember.)
Public property EndDirectives Gets the end directives for the member. (Inherited from CodeTypeMember.)
Public property IsClass Gets or sets a value indicating whether the type is a class or reference type.
Public property IsEnum Gets or sets a value indicating whether the type is an enumeration.
Public property IsInterface Gets or sets a value indicating whether the type is an interface.
Public property IsPartial Gets or sets a value indicating whether the type declaration is complete or partial.
Public property IsStruct Gets or sets a value indicating whether the type is a value type (struct).
Public property LinePragma Gets or sets the line on which the type member statement occurs. (Inherited from CodeTypeMember.)
Public property Members Gets the collection of class members for the represented type.
Public property Name Gets or sets the name of the member. (Inherited from CodeTypeMember.)
Public property StartDirectives Gets the start directives for the member. (Inherited from CodeTypeMember.)
Public property TypeAttributes Gets or sets the attributes of the type.
Public property TypeParameters Gets the type parameters for the type declaration.
Public property UserData Gets the user-definable data for the current object. (Inherited from CodeObject.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft