View.HtmlSchemaXml 属性

Gets a value that specifies the XML document that represents 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 ReadOnly Property HtmlSchemaXml As String
    Get
用法
Dim instance As View
Dim value As String

value = instance.HtmlSchemaXml
public string HtmlSchemaXml { get; }

属性值

类型:System.String
Returns a String instance representing the XML document that represents the list view.

异常

异常 条件
UnauthorizedAccessException

The current user has insufficient permissions. Error code: -2147024891.

备注

It must not be 空引用(无 在 Visual Basic 中). It must be exactly one XML fragment conforming to ViewDefinitions.

The ListMetaDataDefinition type contains various elements used to define the structure of a list.

Schema

<xs:complexType name="ListMetaDataDefinition">
    <xs:all>
      <xs:element name="ContentTypes" type="ContentTypeReferences" minOccurs="0" maxOccurs="1" />
      <xs:element name="Default" type="ListMetaDataDefault" minOccurs="0" maxOccurs="1" />
      <xs:element name="DefaultDescription" type="xs:string" minOccurs="0" maxOccurs="1" />
      <xs:element name="DocumentLibraryTemplate" type="xs:string" minOccurs="0" maxOccurs="1" /> <xs:element name="Fields" type="FieldDefinitions" minOccurs="0" maxOccurs="1" />
      <xs:element name="Forms" type="ListFormSet" minOccurs="0" maxOccurs="1" />
      <xs:element name="Security" type="ListSecurity" minOccurs="0" maxOccurs="1" />
      <xs:element name="Toolbar" type="ToolbarDefinition" minOccurs="0" maxOccurs="1" />
      <xs:element name="Views" type="ViewDefinitions" minOccurs="0" maxOccurs="1" />
    </xs:all>
</xs:complexType>

另请参阅

引用

View 类

View 成员

Microsoft.SharePoint.Client 命名空间