Share via


IVsSimplePreviewChangesList.GetDisplayData Method

Returns display data for the specified item.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function GetDisplayData ( _
    index As UInteger, _
    <OutAttribute> pData As VSTREEDISPLAYDATA() _
) As Integer
int GetDisplayData(
    uint index,
    VSTREEDISPLAYDATA[] pData
)
int GetDisplayData(
    [InAttribute] unsigned int index, 
    [OutAttribute] array<VSTREEDISPLAYDATA>^ pData
)
abstract GetDisplayData : 
        index:uint32 * 
        pData:VSTREEDISPLAYDATA[] byref -> int
function GetDisplayData(
    index : uint, 
    pData : VSTREEDISPLAYDATA[]
) : int

Parameters

  • index
    Type: System.UInt32

    [in] The index of the item for which to get the display data.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsSimplePreviewChangesList::GetDisplayData(
   [in]  ULONG              Index, 
   [out] VSTREEDISPLAYDATA *pData
);

.NET Framework Security

See Also

Reference

IVsSimplePreviewChangesList Interface

Microsoft.VisualStudio.Shell.Interop Namespace