Share via


FieldType Property

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Gets the type of this field object.

Namespace:  System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public MustOverride ReadOnly Property FieldType As Type
public abstract Type FieldType { get; }
public:
virtual property Type^ FieldType {
    Type^ get () abstract;
}
abstract FieldType : Type with get
abstract function get FieldType () : Type

Property Value

Type: System. . :: . .Type
The type of this field object.

Remarks

The type is some primitive data type, such as String, Boolean, or GUID.

To get the FieldType property, first get the class Type. From the Type, get the FieldInfo. From the FieldInfo, get the FieldType value.

.NET Framework Security

See Also

Reference

FieldInfo Class

System.Reflection Namespace