次の方法で共有


FlavoredProjectFactory.IVsAggregatableProjectFactory.GetAggregateProjectType Method

Gets a semicolon-delimited string of project type GUIDs.

Namespace:  Microsoft.VisualStudio.Shell.Flavor
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

'宣言
Private Function GetAggregateProjectType ( _
    fileName As String, _
    <OutAttribute> ByRef projectTypeGuid As String _
) As Integer Implements IVsAggregatableProjectFactory.GetAggregateProjectType
'使用
Dim instance As FlavoredProjectFactory
Dim fileName As String
Dim projectTypeGuid As String
Dim returnValue As Integer

returnValue = CType(instance, IVsAggregatableProjectFactory).GetAggregateProjectType(fileName, _
    projectTypeGuid)
int IVsAggregatableProjectFactory.GetAggregateProjectType(
    string fileName,
    out string projectTypeGuid
)
private:
virtual int GetAggregateProjectType(
    String^ fileName, 
    [OutAttribute] String^% projectTypeGuid
) sealed = IVsAggregatableProjectFactory::GetAggregateProjectType
private abstract GetAggregateProjectType : 
        fileName:string * 
        projectTypeGuid:string byref -> int 
private override GetAggregateProjectType : 
        fileName:string * 
        projectTypeGuid:string byref -> int 
JScript does not support explicit interface implementations.

Parameters

  • projectTypeGuid
    Type: System.String%
    [out] Returns the semicolon-delimited string of project type GUIDs.

Return Value

Type: System.Int32
S_OK().

Implements

IVsAggregatableProjectFactory.GetAggregateProjectType(String, String%)

.NET Framework Security

See Also

Reference

FlavoredProjectFactory Class

FlavoredProjectFactory Members

Microsoft.VisualStudio.Shell.Flavor Namespace