Share via


MetadataNavigationItem.FieldType Property

Gets the [SPFieldType] object value of the SPField object that this instance refers to.

Namespace:  Microsoft.Office.DocumentManagement.MetadataNavigation
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

'Declaration
Public ReadOnly Property FieldType As SPFieldType
    Get
'Usage
Dim instance As MetadataNavigationItem
Dim value As SPFieldType

value = instance.FieldType
public SPFieldType FieldType { get; }

Property Value

Type: Microsoft.SharePoint.SPFieldType
The [SPFieldType] that this instance refers to.

Remarks

For the folder hierarchy special type, the object passes the [SPFieldType.Guid] value. For for managed metadata types, the object passes the [SPFieldType.Invalid] value.

See Also

Reference

MetadataNavigationItem Class

MetadataNavigationItem Members

Microsoft.Office.DocumentManagement.MetadataNavigation Namespace