FlavoredProject.InitializeForOuter Method
Called by the outer project subtype to have the owned inner project subtype do its initialization work.
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣告
Protected Overridable Sub InitializeForOuter ( _
fileName As String, _
location As String, _
name As String, _
flags As UInteger, _
ByRef guidProject As Guid, _
<OutAttribute> ByRef cancel As Boolean _
)
protected virtual void InitializeForOuter(
string fileName,
string location,
string name,
uint flags,
ref Guid guidProject,
out bool cancel
)
Parameters
- fileName
Type: System.String
The name of the project file.
- location
Type: System.String
The path of the project file.
- name
Type: System.String
The name of the project.
- flags
Type: System.UInt32
Flags from the __VSCREATEPROJECTFLAGS enumeration.
- guidProject
Type: System.Guid%
[ref] The interface ID of the project.
- cancel
Type: System.Boolean%
[out] Returns true if project creation was canceled.
Remarks
By default simply sets cancel to false.
.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.