Condividi tramite


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

'Dichiarazione
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 _
)
'Utilizzo
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

  • 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

See Also

Reference

FlavoredProject Class

FlavoredProject Members

Microsoft.VisualStudio.Shell.Flavor Namespace