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
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.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 _
)
'使用
Dim fileName As String
Dim location As String
Dim name As String
Dim flags As UInteger
Dim guidProject As Guid
Dim cancel As Boolean
Me.InitializeForOuter(fileName, location, _
name, flags, guidProject, cancel)
protected virtual void InitializeForOuter(
string fileName,
string location,
string name,
uint flags,
ref Guid guidProject,
out bool cancel
)
protected:
virtual void InitializeForOuter(
String^ fileName,
String^ location,
String^ name,
unsigned int flags,
Guid% guidProject,
[OutAttribute] bool% cancel
)
abstract InitializeForOuter :
fileName:string *
location:string *
name:string *
flags:uint32 *
guidProject:Guid byref *
cancel:bool byref -> unit
override InitializeForOuter :
fileName:string *
location:string *
name:string *
flags:uint32 *
guidProject:Guid byref *
cancel:bool byref -> unit
protected function InitializeForOuter(
fileName : String,
location : String,
name : String,
flags : uint,
guidProject : Guid,
cancel : boolean
)
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.