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
'宣言
Private Function SetAggregateProjectTypeGuids ( _
projectTypeGuids As String _
) As Integer Implements IVsAggregatableProject.SetAggregateProjectTypeGuids
'使用
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
- projectTypeGuids
Type: System.String
The GUIDs to set.
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
- 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.