IDatabaseProjectNode.CreateFileNode Method (String, IDatabaseFileNode%)
Adds a new file node to the hierarchy.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Sub CreateFileNode ( _
fileName As String, _
<OutAttribute> ByRef newNode As IDatabaseFileNode _
)
void CreateFileNode(
string fileName,
out IDatabaseFileNode newNode
)
void CreateFileNode(
String^ fileName,
[OutAttribute] IDatabaseFileNode^% newNode
)
abstract CreateFileNode :
fileName:string *
newNode:IDatabaseFileNode byref -> unit
function CreateFileNode(
fileName : String,
newNode : IDatabaseFileNode
)
Parameters
- fileName
Type: System.String
The full path of the file name.
- newNode
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.IDatabaseFileNode%
The newly created node, or null.
Remarks
This method will create all the folders in the directory structure of the file, if they are required.
.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