Types View (System_Runtime)
Stores .NET type information for managed constructs, such as classes, values, enumerations, delegates, and interfaces.
Fields
The following table lists the fields in the Types view.
Column | Type | Required | Description |
---|---|---|---|
Id |
bigint |
yes |
The identifier for the type. |
Access |
smallint |
yes |
An enumeration value between 0 and 6 that describes the access restrictions for the type. These numeric values are equivalent to compiler, private, family and assembly, assembly, family, family or assembly, and public, respectively. |
Attributes |
nvarchar(max) |
The custom attributes for the type. |
|
BaseClass |
bigint |
The base class for the type. References the [System_Runtime].[TypeSignatures] view. |
|
ContainingClass |
bigint |
The class that contains the type. References the [System_Runtime].[Types] view. |
|
Documentation |
nvarchar(max) |
The XML Document fragment for the type. |
|
DocumentPart |
bigint |
A reference to optional source line information. |
|
Folder |
int |
yes |
The “Oslo” repository Folder associated with the type. References the [Repository.Item].[Folders] view. (Default = 100) |
InitializeTypeBeforeFields |
bit |
yes |
A bit flag that specifies that the type requires initialization before its fields are initialized. This supports static method calls. (Default = 0) |
IsAbstract |
bit |
yes |
A bit flag that indicates that the type is abstract, meaning that no direct instances of the type are possible. (Default = 0) |
IsRuntimeSpecialName |
bit |
yes |
A bit flag that specifies that the type name is special and has a reserved use by the common language runtime (CLR). (Default = 0) |
IsSealed |
bit |
yes |
A bit flag that specifies that the type is sealed, meaning that other types cannot derive from the type. (Default = 0) |
IsSerializable |
bit |
yes |
A bit flag that specifies that the type is serializable. (Default = 0) |
IsToolSpecialName |
bit |
yes |
A bit flag that specifies that the type name is special and has a reserved use by tools other than the common language runtime (CLR). (Default = 0) |
Kind |
smallint |
yes |
An enumeration value between 1 and 6 that describes the kind of the type. These numeric values are equivalent to class, value, enumeration, delegate, interface, and special, respectively. |
Layout |
smallint |
yes |
An enumeration value between 0 and 2 that guides the loader in constructing the layout of the type. These numeric values are equivalent to automatic, sequential, and explicit, respectively. (Default = 0) |
Module |
bigint |
yes |
The module that contains the type. References the [System_Runtime].[Modules] view. |
Name |
nvarchar(max) |
yes |
The name of the type. |
Namespace |
bigint |
The namespace that contains the type. References the [System_Runtime].[Namespaces] view. |
|
MetadataToken |
int |
yes |
A typed identifier of a metadata object, represented as an index into a metadata data structure. |
Remarks
The following views reference the [System_Runtime].[Types] view.