Edit

Share via


SharedWorkspaceFolders.Add(String, Object) Method

Definition

Adds a folder to the document library in a shared workspace.

public Microsoft.Office.Core.SharedWorkspaceFolder Add (string FolderName, object ParentFolder);
abstract member Add : string * obj -> Microsoft.Office.Core.SharedWorkspaceFolder
Public Function Add (FolderName As String, Optional ParentFolder As Object) As SharedWorkspaceFolder

Parameters

FolderName
String

Required String. The name of the folder to be added to the current shared workspace.

ParentFolder
Object

Optional SharedWorkspaceFolder. The subfolder in which to place the new folder, if not the main document library folder within the shared workspace. Add the folder to the main document library folder by leaving this optional argument empty.

Returns

Applies to