다음을 통해 공유


Link Element (DeploymentManifest)

Applies to: SharePoint Foundation 2010

Represents an instance of a SharePoint Foundation link (SPLink) object.

DECLARATION
<xs:element name="Link" 
        type="SPLink" 
        minOccurs="0" maxOccurs="unbounded" 
/>

USAGE
<Links>
        <Link
                TargetId="Guid"
                TargetUrl="xs:string"
                IsDirty="xs:boolean"
                WebPartId="Guid"
                LinkNumber="xs:int"
                Type="xs:unsignedByte"
                Security="xs:unsignedByte"
                Dynamic="xs:unsignedByte"
                ServerRel="xs:boolean"
                Level="xs:unsignedByte"
                Search="xs:string"
        />
</Links>

Type

Microsoft.SharePoint.SPLink

Attributes

Attribute

Type

Description

TargetId

Guid Simple Type (DeploymentManifest)

Required. Identifier of the link target.

TargetUrl

xs:string

Required. URL represented by the link.

IsDirty

xs:boolean

Required. Specifies whether the link value has been changed; true if the link has changed, otherwise false.

WebPartId

Guid Simple Type (DeploymentManifest)

Optional. Unique identifier of the Web Part in which the link is sited.

LinkNumber

xs:int

Optional. Identifying number of the link, if any.

Type

xs:unsignedByte

Optional.

Security

xs:unsignedByte

Optional.

Dynamic

xs:unsignedByte

Optional.

ServerRel

xs:boolean

Optional. Specifies whether the link is a server-relative URL; true if the link is server-relative, otherwise false.

Level

xs:unsignedByte

Optional.

Search

xs:string

Optional.

Child Elements

None

Parent Elements

Links Element (DeploymentManifest - SPFile)

See Also

Reference

SPLink

Concepts

DeploymentManifest Schema