Field.DefaultValue 属性

Gets or sets a value that specifies the default value for the field.

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

语法

声明
Public Property DefaultValue As String
    Get
    Set
用法
Dim instance As Field
Dim value As String

value = instance.DefaultValue

instance.DefaultValue = value
public string DefaultValue { get; set; }

属性值

类型:System.String
Returns a String instance representing the default value for the field.

异常

异常 条件
[System.NotSupportedException]

Value is changed, and the list is an external list. Error code: -1.

另请参阅

引用

Field 类

Field 成员

Microsoft.SharePoint.Client 命名空间