Share via


IVsAggregatableProjectFactoryCorrected.GetAggregateProjectType Method

Returns a string containing a list of project type GUIDs to aggregate to create an instance of this project.

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Function GetAggregateProjectType ( _
    fileName As String, _
    <OutAttribute> ByRef projectTypeGuid As String _
) As Integer
int GetAggregateProjectType(
    string fileName,
    out string projectTypeGuid
)
int GetAggregateProjectType(
    String^ fileName, 
    [OutAttribute] String^% projectTypeGuid
)
abstract GetAggregateProjectType : 
        fileName:string * 
        projectTypeGuid:string byref -> int
function GetAggregateProjectType(
    fileName : String, 
    projectTypeGuid : String
) : int

Parameters

  • fileName
    Type: String

    [in] The name of the project file containing the list of project type GUIDs.

  • projectTypeGuid
    Type: String%

    [out] Pointer to a string containing a semi-colon delimited list of the project type GUIDs, ordered from outer to the inner project subtype.

Return Value

Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

GetAggregateProjectType should return at least one GUID—the project type GUID for itself. This method is expected to get the list of GUIDs from the specified file.

.NET Framework Security

See Also

Reference

IVsAggregatableProjectFactoryCorrected Interface

Microsoft.VisualStudio.Shell.Flavor Namespace