IVsSimpleObjectList2::GetProperty Method (UInt32, Int32, Object^)
Visual Studio 2015
Returns the specified property for the specified list item.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- index
-
Type:
System::UInt32
[in] The index of the item for which to get a property.
- propid
-
Type:
System::Int32
[in] A value from the _VSOBJLISTELEMPROPID enumeration specifying the property to get.
- pvar
-
Type:
System::Object^
[out] Returns a VARIANT object containing the requested value.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
From vsshell80.idl:
HRESULT IVsSimpleObjectList2::GetProperty( [in] ULONG Index, [in] VSOBJLISTELEMPROPID propid, [out] VARIANT *pvar );
Show: