ViewCreationInformation.Query 屬性
取得或設定值,指定新清單檢視的查詢。
命名空間: 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
傳回代表新的清單檢視的查詢String執行個體。
備註
它必須null 參考 (未執行任何動作 於 Visual Basic 中)或有效的 XML 片段符合 CamlQueryRoot
結構描述
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