IDatabaseProjectNode.CreateFolderNodes Method
Walks the subpaths of a project-relative path and creates the folder nodes hierarchy if it is not present.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Sub CreateFolderNodes ( _
path As String, _
<OutAttribute> ByRef newNode As IDatabaseFolderNode _
)
void CreateFolderNodes(
string path,
out IDatabaseFolderNode newNode
)
void CreateFolderNodes(
String^ path,
[OutAttribute] IDatabaseFolderNode^% newNode
)
abstract CreateFolderNodes :
path:string *
newNode:IDatabaseFolderNode byref -> unit
function CreateFolderNodes(
path : String,
newNode : IDatabaseFolderNode
)
Parameters
- path
Type: System.String
Path of the folder; can be relative to the project or absolute.
- newNode
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.IDatabaseFolderNode%
The new node that was created, if the creation is successful.
Remarks
If the folder exists but is a nonmember item, the folder will be changed into a member of the project.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IDatabaseProjectNode Interface
Microsoft.VisualStudio.Data.Schema.Package.Project Namespace