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
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
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
)
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: String

    The name of the project file.

  • location
    Type: String

    The path of the project file.

  • name
    Type: String

    The name of the project.

  • flags
    Type: UInt32

    Flags from the __VSCREATEPROJECTFLAGS enumeration.

  • guidProject
    Type: Guid%

    [ref] The interface ID of the project.

  • cancel
    Type: 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

Microsoft.VisualStudio.Shell.Flavor Namespace