View.ViewData 属性

Gets or sets a value that specifies the view data for 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 ViewData As String
    Get
    Set
用法
Dim instance As View
Dim value As String

value = instance.ViewData

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

属性值

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

备注

It must be 空引用(无 在 Visual Basic 中) or an XML fragment that conforms to the following XML schema:<xs:sequence><xs:element name=”FieldRef” type=”FieldRefDefinitionViewData” minOccurs=”3” maxOccurs=”5”/></xs:sequence>where FieldRefDefinitionViewData.

Schema

<xs:complexType name="ListMetaDataDefault">
    <xs:sequence>
      <xs:element name="Forms" type="ListFormSet" />
    </xs:sequence>
</xs:complexType>

另请参阅

引用

View 类

View 成员

Microsoft.SharePoint.Client 命名空间