CamlQuery.ViewXml 属性

Gets or sets value that specifies the XML schema that defines the list view.

命名空间:  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 ViewXml As String
    Get
    Set
用法
Dim instance As CamlQuery
Dim value As String

value = instance.ViewXml

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

属性值

类型:System.String
Returns String.

备注

It must be 空引用(无 在 Visual Basic 中), empty, or an XML fragment that conforms to the ViewDefinition type.

The FieldDefinitions type contains a collection of zero or more fields.

Schema

Xs:complexType name = “FieldDefinitions” 
   Xs:sequence
      Xs:element name = “Field” type = “FieldDefinition” minOccurs = “0” maxOccurs = “unbounded”/
   /xs:sequence
/xs:complexType

另请参阅

引用

CamlQuery 类

CamlQuery 成员

Microsoft.SharePoint.Client 命名空间