다음을 통해 공유


SP.FolderCollection.add(strUrl) Method

Applies to: SharePoint Foundation 2010

Adds the folder that is located at the specified URL to the collection.

var value = SP.FolderCollection.add(strUrl);

Parameters

  • strUrl
    A string that specifies the URL of the folder, either a fully-qualified URL, or a server-relative or Web-relative URL.

Type: String

Return Value

Type: SP.Folder

Applies To

SP.FolderCollection Class

Exceptions

  • ArgumentException
    The specified URL is not valid in this context. Error code: -2147024809.

See Also

Reference

SP.FolderCollection Methods

SP.FolderCollection Properties

SP Namespace