IVsToolbox3::GetItemDisplayName Method (IDataObject^, String^)

 

Gets the display name of an item.

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

int GetItemDisplayName(
	IDataObject^ pDO,
	[OutAttribute] String^% pbstrName
)

Parameters

pDO
Type: Microsoft.VisualStudio.OLE.Interop::IDataObject^

An IDataObject interface to the item.

pbstrName
Type: System::String^

The name of the item.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell80.idl:

HRESULT GetItemDisplayName(
   [in] IDataObject* pDO,
   [out] BSTR* pbstrName
);
Return to top
Show: