Metoda FlavoredProjectFactory.IVsAggregatableProjectFactory.GetAggregateProjectType —
Pobiera ciąg rozdzielany średnikami projektu typu GUID.
Przestrzeń nazw: Microsoft.VisualStudio.Shell.Flavor
Zestaw: Microsoft.VisualStudio.Shell.11.0 (w Microsoft.VisualStudio.Shell.11.0.dll)
Składnia
'Deklaracja
Private Function GetAggregateProjectType ( _
fileName As String, _
<OutAttribute> ByRef projectTypeGuid As String _
) As Integer Implements IVsAggregatableProjectFactory.GetAggregateProjectType
int IVsAggregatableProjectFactory.GetAggregateProjectType(
string fileName,
out string projectTypeGuid
)
Parametry
- fileName
Typ: System.String
Nazwa pliku projektu.
- projectTypeGuid
Typ: System.String%
[out] Zwraca ciąg rozdzielany średnikami projektu typu GUID.
Wartość zwracana
Typ: System.Int32
S_OK .
Implementuje
IVsAggregatableProjectFactory.GetAggregateProjectType(String, String%)
Zabezpieczenia programu .NET Framework
- Pełne zaufanie do bezpośredniego wywołującego. Tego elementu członkowskiego nie można używać w kodzie częściowo zaufanym. Aby uzyskać więcej informacji, zobacz Przy użyciu bibliotek z częściowo zaufanego kodu..