IVsAggregatableProjectFactory.GetAggregateProjectType Method

Returns a string containing a list of project type GUIDs to aggregate to create an instance of this project. It 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.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

‘선언
Function GetAggregateProjectType ( _
    pszFilename As String, _
    <OutAttribute> ByRef pbstrProjTypeGuid As String _
) As Integer
‘사용 방법
Dim instance As IVsAggregatableProjectFactory
Dim pszFilename As String
Dim pbstrProjTypeGuid As String
Dim returnValue As Integer

returnValue = instance.GetAggregateProjectType(pszFilename, _
    pbstrProjTypeGuid)
int GetAggregateProjectType(
    string pszFilename,
    out string pbstrProjTypeGuid
)
int GetAggregateProjectType(
    [InAttribute] String^ pszFilename, 
    [OutAttribute] String^% pbstrProjTypeGuid
)
function GetAggregateProjectType(
    pszFilename : String, 
    pbstrProjTypeGuid : String
) : int

Parameters

  • pszFilename
    Type: System.String

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

  • pbstrProjTypeGuid
    Type: System.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: System.Int32

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsAggregatableProjectFactory::GetAggregateProjectType(
   [in] LPCOLESTR pszFilename,
   [out] BSTR *pbstrProjTypeGuid
);

Permissions

See Also

Reference

IVsAggregatableProjectFactory Interface

IVsAggregatableProjectFactory Members

Microsoft.VisualStudio.Shell.Interop Namespace