共用方式為


SPField.FieldValueType property

取得值類型之欄位的欄位類型都有其專屬值類型時。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public Overridable ReadOnly Property FieldValueType As Type
    Get
'用途
Dim instance As SPField
Dim value As Type

value = instance.FieldValueType
public virtual Type FieldValueType { get; }

Property value

Type: System.Type
System.Type物件,代表值類型。

備註

Use the FieldValueType property when the field type has its own custom value type object, such as the one that is returned through the GetFieldValue method. For more information about field value objects, see Custom Field Value Classes.

請參閱

參照

SPField class

SPField members

Microsoft.SharePoint namespace