Initializes the nested project node. This method should be called just after the node is created.
Namespace: Microsoft.VisualStudio.Package
Assembly: MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)
Syntax
'宣言
Public Overridable Sub Init ( _
fileNameParam As String, _
destinationParam As String, _
projectNameParam As String, _
createFlags As __VSCREATEPROJFLAGS _
)
'使用
Dim instance As NestedProjectNode
Dim fileNameParam As String
Dim destinationParam As String
Dim projectNameParam As String
Dim createFlags As __VSCREATEPROJFLAGS
instance.Init(fileNameParam, destinationParam, _
projectNameParam, createFlags)
public virtual void Init(
string fileNameParam,
string destinationParam,
string projectNameParam,
__VSCREATEPROJFLAGS createFlags
)
public:
virtual void Init(
String^ fileNameParam,
String^ destinationParam,
String^ projectNameParam,
__VSCREATEPROJFLAGS createFlags
)
public function Init(
fileNameParam : String,
destinationParam : String,
projectNameParam : String,
createFlags : __VSCREATEPROJFLAGS
)
Parameters
- fileNameParam
Type: System.String
- destinationParam
Type: System.String
- projectNameParam
Type: System.String
createFlags
Type: Microsoft.VisualStudio.Shell.Interop.__VSCREATEPROJFLAGSFlags from the __VSCREATEPROJFLAGS enumeration.
Remarks
This method creates the project and its directory, and links it to the containing solution.
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.