Condividi tramite


FlavoredProject.IVsAggregatableProject.SetAggregateProjectTypeGuids Method

Updates the list of GUIDs that are persisted in the project file of the base project.

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

Syntax

'Dichiarazione
Private Function SetAggregateProjectTypeGuids ( _
    projectTypeGuids As String _
) As Integer Implements IVsAggregatableProject.SetAggregateProjectTypeGuids
'Utilizzo
Dim instance As FlavoredProject
Dim projectTypeGuids As String
Dim returnValue As Integer

returnValue = CType(instance, IVsAggregatableProject).SetAggregateProjectTypeGuids(projectTypeGuids)
int IVsAggregatableProject.SetAggregateProjectTypeGuids(
    string projectTypeGuids
)
private:
virtual int SetAggregateProjectTypeGuids(
    String^ projectTypeGuids
) sealed = IVsAggregatableProject::SetAggregateProjectTypeGuids
private abstract SetAggregateProjectTypeGuids : 
        projectTypeGuids:string -> int 
private override SetAggregateProjectTypeGuids : 
        projectTypeGuids:string -> int 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK\. If it fails, it returns an error code.

Implements

IVsAggregatableProject.SetAggregateProjectTypeGuids(String)

Remarks

This method calls the SetAggregateProjectTypeGuids method on the innermost project.

.NET Framework Security

See Also

Reference

FlavoredProject Class

FlavoredProject Members

Microsoft.VisualStudio.Shell.Flavor Namespace