IDatabaseProjectNode.CreateFileNode Method (IDatabaseNode, 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 ( _
parentNode As IDatabaseNode, _
fileName As String, _
<OutAttribute> ByRef newNode As IDatabaseFileNode _
)
void CreateFileNode(
IDatabaseNode parentNode,
string fileName,
out IDatabaseFileNode newNode
)
void CreateFileNode(
IDatabaseNode^ parentNode,
String^ fileName,
[OutAttribute] IDatabaseFileNode^% newNode
)
abstract CreateFileNode :
parentNode:IDatabaseNode *
fileName:string *
newNode:IDatabaseFileNode byref -> unit
function CreateFileNode(
parentNode : IDatabaseNode,
fileName : String,
newNode : IDatabaseFileNode
)
Parameters
- parentNode
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.IDatabaseNode
The parent of the new file node.
- fileName
Type: System.String
The file name.
- newNode
Type: Microsoft.VisualStudio.Data.Schema.Package.Project.IDatabaseFileNode%
The newly created node, or null.
.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