次の方法で共有


Field.SchemaXml プロパティ

Gets or sets a value that specifies the XML schema that defines 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 SchemaXml As String
    Get
    Set
'使用
Dim instance As Field
Dim value As String

value = instance.SchemaXml

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

プロパティ値

型: System.String
Returns a String instance representing the XML schema that defines the field.

例外

例外 条件
[Microsoft.SharePoint.SPException]

The server does not allow properties of the field to be changed. Error code: -2146232832.

[System.NotSupportedException]

Value is changed to a non-null 参照 (Visual Basic のNothing ) or non-empty value, and the list is an external list. Error code: -1.

注釈

It must be null 参照 (Visual Basic のNothing ), empty, or an XML fragment that conforms to the FieldDefinition type. A field definition describes the structure and format of a field that is used within a list or content type.

関連項目

参照先

Field クラス

Field メンバー

Microsoft.SharePoint.Client 名前空間