SPField.FieldValueType 属性

获取字段的值类型时字段类型都有其自己的值类型。

命名空间:  Microsoft.SharePoint
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
Public Overridable ReadOnly Property FieldValueType As Type
    Get
用法
Dim instance As SPField
Dim value As Type

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

属性值

类型: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 类

SPField 成员

Microsoft.SharePoint 命名空间