共用方式為


Folder Element (DeploymentManifest)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Represents an instance of a Windows SharePoint Services 3.0 folder (SPFolder) object.

DECLARATION
<xs:element name="Folder" type="SPFolder" />

USAGE
<SPObject>
        <Folder
                Id="Guid"
                Name="xs:string"
                Url="xs:string"
                ParentFolderId="Guid"
                ParentWebId="Guid"
                ParentWebUrl="xs:string"
                ContainingDocumentLibrary="Guid"
                WelcomePageUrl="xs:string"
                WelcomePageParameters="xs:string"
                ListItemIntId="xs:int"
                Author="xs:string"
                ModifiedBy="xs:string"
                TimeCreated="xs:dateTime"
                TimeLastModified="xs:dateTime"
                        <Properties />
        />
</SPObject>

Type

SPFolder

Attributes

Attribute

Type

Description

Id

Guid Simple Type (DeploymentManifest)

Unique identifier of the folder.

Optional on export; required by import.

Name

xs:string

Name of the folder.

Optional on export; required by import.

Url

xs:string

URL path to the folder.

Optional on export; required by import.

ParentFolderId

Guid Simple Type (DeploymentManifest)

Unique identifier of the folder's parent folder.

Optional on export; required by import.

ParentWebId

Guid Simple Type (DeploymentManifest)

Unique identifier of the folder's parent Web site, where appropriate.

Optional on export; required by import.

ParentWebUrl

xs:string

Optional. URL to the parent Web site.

ContainingDocumentLibrary

Guid Simple Type (DeploymentManifest)

Optional. Unique identifier of the document library the folder is part of, if it belongs to a document library.

WelcomePageUrl

xs:string

Optional. URL to the site's Welcome page.

WelcomePageParameters

xs:string

Optional. URL parameters available for augmenting the Welcome page URL.

ListItemIntId

xs:int

Optional. Integer value that specifies the position relative to the list.

Author

xs:string

Optional. User who created the folder.

ModifiedBy

xs:string

Optional. User who last modified the folder.

TimeCreated

xs:dateTime

Optional. Date/time value specifying the time the folder was created.

TimeLastModified

xs:dateTime

Optional. Date-time value specifying the time the folder was last modified.

Child Elements

Properties Element (DeploymentManifest - SPFolder)

Parent Elements

SPObject Element (DeploymentManifest)

See Also

Reference

SPFolder

Concepts

DeploymentManifest Schema