次の方法で共有


FlavoredProject.IVsUIHierarchy.SetGuidProperty(UInt32, Int32, Guid) Method

Definition

Sets properties whose values are GUIDs.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.SetGuidProperty(System::UInt32 itemid, int propid, Guid % rguid) = Microsoft::VisualStudio::Shell::Interop::IVsUIHierarchy::SetGuidProperty;
int IVsUIHierarchy.SetGuidProperty (uint itemid, int propid, ref Guid rguid);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.SetGuidProperty : uint32 * int * Guid -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsUIHierarchy.SetGuidProperty : uint32 * int * Guid -> int
Function SetGuidProperty (itemid As UInteger, propid As Integer, ByRef rguid As Guid) As Integer Implements IVsUIHierarchy.SetGuidProperty

Parameters

itemid
UInt32

The ID of the item.

propid
Int32

The ID of the property to set.

rguid
Guid

The GUID value of the property.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Remarks

This method calls the SetGuidProperty method, which itself calls the SetGuidProperty method, which calls the SetGuidProperty method on the inner project..

Applies to