ProjectNode.CreateMsBuildFileItem Method

Creates a new project element (which contains the build item), based on the supplied file and item type.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Function CreateMsBuildFileItem ( _
    file As String, _
    itemType As String _
) As ProjectElement
'使用
Dim instance As ProjectNode
Dim file As String
Dim itemType As String
Dim returnValue As ProjectElement

returnValue = instance.CreateMsBuildFileItem(file, _
    itemType)
public ProjectElement CreateMsBuildFileItem(
    string file,
    string itemType
)
public:
ProjectElement^ CreateMsBuildFileItem(
    String^ file, 
    String^ itemType
)
public function CreateMsBuildFileItem(
    file : String, 
    itemType : String
) : ProjectElement

Parameters

Return Value

Type: Microsoft.VisualStudio.Package.ProjectElement

ProjectElement.

Permissions

See Also

Reference

ProjectNode Class

ProjectNode Members

Microsoft.VisualStudio.Package Namespace