Compartilhar via


FlavoredProject.IVsHierarchy.GetProperty(UInt32, Int32, Object) Method

Definition

Gets properties of a given node or of the hierarchy.

 virtual int Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.GetProperty(System::UInt32 itemId, int propId, [Runtime::InteropServices::Out] System::Object ^ % property) = Microsoft::VisualStudio::Shell::Interop::IVsHierarchy::GetProperty;
int Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.GetProperty(unsigned int itemId, int propId, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & property);
int IVsHierarchy.GetProperty (uint itemId, int propId, out object property);
abstract member Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.GetProperty : uint32 * int * obj -> int
override this.Microsoft.VisualStudio.Shell.Interop.IVsHierarchy.GetProperty : uint32 * int * obj -> int
Function GetProperty (itemId As UInteger, propId As Integer, ByRef property As Object) As Integer Implements IVsHierarchy.GetProperty

Parameters

itemId
UInt32

The ID of the item.

propId
Int32

The ID of the property.

property
Object

[out] The 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 GetProperty method, which calls the GetProperty method on the inner project.

Applies to