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
- fileName
Type: System.String
The name of the project file.
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.