IVsObjectList2.GetProperty(UInt32, Int32, Object) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the specified property for the specified list item.
public:
int GetProperty(System::UInt32 index, int propid, [Runtime::InteropServices::Out] System::Object ^ % pvar);
C++/WinRT
int GetProperty(unsigned int index, int propid, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pvar);
public int GetProperty(uint index, int propid, out object pvar);
abstract member GetProperty : uint32 * int * obj -> int
Public Function GetProperty (index As UInteger, propid As Integer, ByRef pvar As Object) As Integer
- index
- UInt32
[in] The index of the item for which to get a property.
- propid
- Int32
[in] A value from the _VSOBJLISTELEMPROPID enumeration specifying the property to get.
- pvar
- Object
[out] Returns a VARIANT
object containing the requested value.
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
[C++]
HRESULT IVsObjectList2::GetProperty(
[in] ULONG Index,
[in] VSOBJLISTELEMPROPID propid,
[out] VARIANT *pvar
);
Proizvod | Verzije |
---|---|
Visual Studio SDK | 2015, 2017, 2019, 2022 |