IVsAggregatableProjectFactory.GetAggregateProjectType(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
int GetAggregateProjectType(System::String ^ pszFilename, [Runtime::InteropServices::Out] System::String ^ % pbstrProjTypeGuid);
int GetAggregateProjectType(std::wstring const & pszFilename, [Runtime::InteropServices::Out] std::wstring const & & pbstrProjTypeGuid);
public int GetAggregateProjectType (string pszFilename, out string pbstrProjTypeGuid);
abstract member GetAggregateProjectType : string * string -> int
Public Function GetAggregateProjectType (pszFilename As String, ByRef pbstrProjTypeGuid As String) As Integer
Parameters
- pszFilename
- String
[in] The name of the project file containing the list of project type GUIDs.
- pbstrProjTypeGuid
- 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.
Returns
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
);