TypeDefinition Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public value class TypeDefinition
public struct TypeDefinition
public readonly struct TypeDefinition
type TypeDefinition = struct
Public Structure TypeDefinition
- Inheritance
Properties
Attributes | |
BaseType |
Gets 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. |
Methods
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() |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應