Compartir a través de


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

Definition

Gets the value of a property for a given node.

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

Parameters

itemid
UInt32

The item ID of the node.

propid
Int32

The ID of the requested property.

pvar
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.

Applies to