ProjectNode.Load Method (String, String, String, UInt32, Guid%, Int32%)

Loads or reloads a project.

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

Syntax

'宣言
Public Overridable Sub Load ( _
    filename As String, _
    location As String, _
    name As String, _
    flags As UInteger, _
    ByRef iidProject As Guid, _
    <OutAttribute> ByRef canceled As Integer _
)
'使用
Dim instance As ProjectNode
Dim filename As String
Dim location As String
Dim name As String
Dim flags As UInteger
Dim iidProject As Guid
Dim canceled As Integer

instance.Load(filename, location, name, _
    flags, iidProject, canceled)
public virtual void Load(
    string filename,
    string location,
    string name,
    uint flags,
    ref Guid iidProject,
    out int canceled
)
public:
virtual void Load(
    String^ filename, 
    String^ location, 
    String^ name, 
    unsigned int flags, 
    Guid% iidProject, 
    [OutAttribute] int% canceled
)
public function Load(
    filename : String, 
    location : String, 
    name : String, 
    flags : uint, 
    iidProject : Guid, 
    canceled : int
)

Parameters

  • flags
    Type: System.UInt32

    Flags that indicate whether this method reloads/loads a project, or creates a new one. Values are taken from __VSCREATEPROJFLAGS enumeration.

  • iidProject
    Type: System.Guid%

    Unique identifier of the project. Specified for a project that is to be reloaded. Can be a null reference (Nothing in Visual Basic) if creating a new project.

  • canceled
    Type: System.Int32%

    [out] returns 0 if a new project is created.

Remarks

Loads, reloads or creates a new project and the accompanying MSBuild files.

Permissions

See Also

Reference

ProjectNode Class

ProjectNode Members

Load Overload

Microsoft.VisualStudio.Package Namespace