次の方法で共有


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

Definition

Sets properties whose values are GUIDs.

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

Parameters

itemId
UInt32

The ID of the item.

propId
Int32

The ID of the property to set.

guid
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 calls the SetGuidProperty method on the inner project.

Applies to