属性元素 (DeploymentManifest)

适用于: SharePoint 2016 |SharePoint Foundation 2013 |SharePoint Online |SharePoint Server 2013

表示 Windows SharePoint Services 3.0 对象的实例上的属性值。

定义

DECLARATION
<xs:element name="Property" type="DictionaryEntry" minOccurs="0" maxOccurs="unbounded" />

USAGE
<Properties>
        <Property
                Name="xs:string"
                Value="xs:string"
                Value2="xs:string"
                Id="Guid"
                Type="SPDictionaryEntryValueType"
                Access="SPDictionaryEntryAccess"
        />
</Properties>

类型

DictionaryEntry

元素和属性

下面各部分介绍了属性、子元素和父元素。

Attributes

属性 类型 说明
名称
xs:string
必填。 属性的名称。

xs:string
可选。 属性值。
Value2
xs:string
可选。
Id
GUID 简单类型 (DeploymentManifest)
可选。 属性的唯一标识符。
类型
SPDictionaryEntryValueType 简单类型 (DeploymentManifest)
可选。 属性值类型的枚举。
默认类型为 string
Access
SPDictionaryEntryAccess 简单类型 (DeploymentManifest)
可选。 两种可用访问模式设置的枚举:ReadOnlyReadWrite
默认访问模式为 ReadWrite

子元素

父元素

Properties 元素 (DeploymentManifest - SPAttachment)

另请参阅