共用方式為


FlavoredProject.IVsAggregatableProject.InitializeForOuter Method

Called by the outer project subtype to have the 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

'宣告
Private Function InitializeForOuter ( _
    fileName As String, _
    location As String, _
    name As String, _
    flags As UInteger, _
    ByRef guidProject As Guid, _
    <OutAttribute> ByRef project As IntPtr, _
    <OutAttribute> ByRef canceled As Integer _
) As Integer Implements IVsAggregatableProject.InitializeForOuter
int IVsAggregatableProject.InitializeForOuter(
    string fileName,
    string location,
    string name,
    uint flags,
    ref Guid guidProject,
    out IntPtr project,
    out int canceled
)

Parameters

  • fileName
    Type: System.String
    The project file name of the project to be initialized.
  • guidProject
    Type: System.Guid%
    [ref] The interface ID of the project. It should be IID_IUnknown.
  • canceled
    Type: System.Int32%
    [out] true if the project was canceled. 

Return Value

Type: System.Int32
If the method succeeds, S_OK, otherwise an error code.

Implements

IVsAggregatableProject.InitializeForOuter(String, String, String, UInt32, Guid%, IntPtr%, Int32%)

Remarks

This method calls InitializeForOuter.

.NET Framework Security

See Also

Reference

FlavoredProject Class

Microsoft.VisualStudio.Shell.Flavor Namespace