共用方式為


IVsSimplePreviewChangesList.GetDisplayData Method

Definition

Returns display data for the specified item.

public:
 int GetDisplayData(System::UInt32 index, cli::array <Microsoft::VisualStudio::Shell::Interop::VSTREEDISPLAYDATA> ^ pData);
int GetDisplayData(unsigned int index, std::Array <Microsoft::VisualStudio::Shell::Interop::VSTREEDISPLAYDATA> const & pData);
public int GetDisplayData (uint index, Microsoft.VisualStudio.Shell.Interop.VSTREEDISPLAYDATA[] pData);
abstract member GetDisplayData : uint32 * Microsoft.VisualStudio.Shell.Interop.VSTREEDISPLAYDATA[] -> int
Public Function GetDisplayData (index As UInteger, pData As VSTREEDISPLAYDATA()) As Integer

Parameters

index
UInt32

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

pData
VSTREEDISPLAYDATA[]

[in, out] A VSTREEDISPLAYDATA structure that is filled in with the requested data.

Returns

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  
);  

Applies to