共用方式為


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

  • 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

Microsoft.VisualStudio.Shell.Flavor Namespace