TypeDefinition TypeDefinition TypeDefinition TypeDefinition Struct

Definition

public value class TypeDefinition
public struct TypeDefinition
type TypeDefinition = struct
Public Structure TypeDefinition
Inheritance
TypeDefinitionTypeDefinitionTypeDefinitionTypeDefinition

Properties

Attributes Attributes Attributes Attributes
BaseType BaseType BaseType BaseType

Gets the base type of the type definition: either TypeSpecificationHandle, TypeReferenceHandle or TypeDefinitionHandle.

IsNested IsNested IsNested IsNested

Gets a value that indicates whether this is a nested type.

Name Name Name Name

Gets the name of the type.

Namespace Namespace Namespace Namespace

Gets the full name of the namespace where the type is defined.

NamespaceDefinition NamespaceDefinition NamespaceDefinition NamespaceDefinition

Gets the definition handle of the namespace where the type is defined.

Methods

GetCustomAttributes() GetCustomAttributes() GetCustomAttributes() GetCustomAttributes()
GetDeclarativeSecurityAttributes() GetDeclarativeSecurityAttributes() GetDeclarativeSecurityAttributes() GetDeclarativeSecurityAttributes()
GetDeclaringType() GetDeclaringType() GetDeclaringType() GetDeclaringType()

Returns the enclosing type of a specified nested type.

GetEvents() GetEvents() GetEvents() GetEvents()
GetFields() GetFields() GetFields() GetFields()
GetGenericParameters() GetGenericParameters() GetGenericParameters() GetGenericParameters()
GetInterfaceImplementations() GetInterfaceImplementations() GetInterfaceImplementations() GetInterfaceImplementations()
GetLayout() GetLayout() GetLayout() GetLayout()
GetMethodImplementations() GetMethodImplementations() GetMethodImplementations() GetMethodImplementations()
GetMethods() GetMethods() GetMethods() GetMethods()
GetNestedTypes() GetNestedTypes() GetNestedTypes() GetNestedTypes()

Returns an array of types nested in the specified type.

GetProperties() GetProperties() GetProperties() GetProperties()

Applies to