TypeDefinition 结构

定义

public value class TypeDefinition
public struct TypeDefinition
type TypeDefinition = struct
Public Structure TypeDefinition
继承
TypeDefinition

属性

Attributes
BaseType

获取类型定义的基类型:TypeSpecificationHandleTypeReferenceHandleTypeDefinitionHandleGets the base type of the type definition: either TypeSpecificationHandle, TypeReferenceHandle or TypeDefinitionHandle.

IsNested

获取一个值,该值表示这是嵌套类型。Gets a value that indicates whether this is a nested type.

Name

获取类型的名称。Gets the name of the type.

Namespace

获取在其中定义类型的命名空间的全名。Gets the full name of the namespace where the type is defined.

NamespaceDefinition

获取在其中定义类型的命名空间的定义句柄。Gets the definition handle of the namespace where the type is defined.

方法

GetCustomAttributes()
GetDeclarativeSecurityAttributes()
GetDeclaringType()

返回指定的嵌套类型的封闭类型。Returns the enclosing type of a specified nested type.

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

返回指定类型中嵌套的类型的数组。Returns an array of types nested in the specified type.

GetProperties()

适用于