Field.ValidationMessage プロパティ
Gets or sets a value that specifies the error message returned when data validation fails 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 ValidationMessage As String
Get
Set
'使用
Dim instance As Field
Dim value As String
value = instance.ValidationMessage
instance.ValidationMessage = value
public string ValidationMessage { get; set; }
プロパティ値
型: System.String
Returns a String representing the error message returned when data validation fails for the field.
例外
例外 | 条件 |
---|---|
[Microsoft.SharePoint.SPException] | FieldTypeKind is not one of the following: Text, Number, Integer, Currency, Choice, or DateTime. Error code: -2146232832. |
注釈
Its length must be equal to or less than 1024.