ViewCreationInformation.Query 属性

Gets or sets a value that specifies the query for the new 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 Query As String
    Get
    Set
用法
Dim instance As ViewCreationInformation
Dim value As String

value = instance.Query

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

属性值

类型:System.String
Returns a String instance representing the query for the new list view.

备注

It must be 空引用(无 在 Visual Basic 中) or a valid XML fragment that conforms to CamlQueryRoot

Schema

xs:complexType name="CamlQueryRoot"
   xs:all
      xs:element name="Where" type="LogicalJoinDefinition" minOccurs="0" maxOccurs="1" /
      xs:element name="OrderBy" type="OrderByDefinition" minOccurs="0" maxOccurs="1" /
      xs:element name="GroupBy" type="GroupByDefinition" minOccurs="0" maxOccurs="1" /
   xs:all
xs:complexType

另请参阅

引用

ViewCreationInformation 类

ViewCreationInformation 成员

Microsoft.SharePoint.Client 命名空间