IVsAggregatableProjectFactory.GetAggregateProjectType(String, String) Yöntem

Tanım

Bu projenin bir örneğini oluşturmak için toplanacak proje türü GUID 'lerinin listesini içeren bir dize döndürür. En az bir GUID (kendisi için proje türü GUID) döndürmelidir. Bu yöntemin, belirtilen dosyadan GUID 'lerin listesini alması beklenir.

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

Parametreler

pszFilename
String

'ndaki Proje türü GUID 'Lerinin listesini içeren proje dosyasının adı.

pbstrProjTypeGuid
String

dışı Dış projeden iç proje alt türüne sıralanan proje türü GUID 'Lerinin noktalı virgülle ayrılmış bir listesini içeren bir dize işaretçisi.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

COM Imzası

Vsshell80. IDL adresinden:

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

Şunlara uygulanır