Creates a file node (and its associated build item) with the supplied path.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Function CreateFileNode ( _
file As String _
) As FileNode
'使用
Dim instance As ProjectNode
Dim file As String
Dim returnValue As FileNode
returnValue = instance.CreateFileNode(file)
public virtual FileNode CreateFileNode(
string file
)
public:
virtual FileNode^ CreateFileNode(
String^ file
)
public function CreateFileNode(
file : String
) : FileNode
Parameters
file
Type: System.StringThe path of the file.
Return Value
Type: Microsoft.VisualStudio.Package.FileNode
Permissions
- 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.