Share via


Fields View (System_Runtime)

Provides field information for types in the [System_Runtime].[Types] view.

Fields

The following table lists the fields in the Fields view.

Column Type Required Description

Id

bigint

yes

The identifier of the field.

Access

smallint

yes

An enumeration value between 0 and 6 that describes the access restrictions for the field. 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 field.

DeclaringType

bigint

yes

The type definition that contains the field. References the [System_Runtime].[Types] view.

Name

nvarchar(max)

yes

The name of the field.

Documentation

nvarchar(max)

The XML Document fragment for the field.

Default

sql_variant

The default value for the field.

DocumentPart

bigint

A reference to optional source line information.

IsStatic

bit

yes

A bit flag that indicates that the field is static. (Default = 0)

Folder

int

yes

The “Oslo” repository Folder associated with the field. References the [Repository.Item].[Folders] view. (Default = 100)

InitialValue

nvarchar(max)

The initial value of a constant field.

IsToolSpecialName

bit

yes

A bit flag that specifies that the field name is special and has a reserved use by tools other than the common language runtime (CLR). (Default = 0)

IsRuntimeSpecialName

bit

yes

A bit flag that specifies that the field name is special and has a reserved use by the common language runtime (CLR). (Default = 0)

IsReadOnly

bit

yes

A bit flag that specifies that the field is read only. (Default = 0)

IsConstant

bit

yes

A bit flag that specifies that the field is a constant. (Default = 0)

IsSerialized

bit

yes

A bit flag that specifies that the field can be serialized. (Default = 1)

IsPInvokeImplementation

bit

yes

A bit flag indicating that the implementation is forwarded through PInvoke. (Default = 0)

MarshalType

nvarchar(max)

The type of marshaling to use during serialization.

OffsetBytes

int

The number of bytes to offset this field in the layout of the containing type.

Type

bigint

The type signature of the field. References the [System_Runtime].[TypeSignatures] view.

Remarks

See Also

Reference

System_Runtime Views
System_Runtime Schema

Send comments about this topic to Microsoft.