다음을 통해 공유


IVsObjectListOwner.CalculateExtendedText Method

Definition

Finds the extended text (fully qualified name) for an object in a list of objects.

public:
 int CalculateExtendedText(Microsoft::VisualStudio::Shell::Interop::IVsObjectList ^ pList, System::UInt32 iItem, System::String ^ strSeperator);
public:
 int CalculateExtendedText(Microsoft::VisualStudio::Shell::Interop::IVsObjectList ^ pList, unsigned int iItem, Platform::String ^ strSeperator);
int CalculateExtendedText(Microsoft::VisualStudio::Shell::Interop::IVsObjectList const & pList, unsigned int iItem, std::wstring const & strSeperator);
public int CalculateExtendedText (Microsoft.VisualStudio.Shell.Interop.IVsObjectList pList, uint iItem, string strSeperator);
abstract member CalculateExtendedText : Microsoft.VisualStudio.Shell.Interop.IVsObjectList * uint32 * string -> int
Public Function CalculateExtendedText (pList As IVsObjectList, iItem As UInteger, strSeperator As String) As Integer

Parameters

pList
IVsObjectList

[in] Pointer to the list of objects, an IVsObjectList interface.

iItem
UInt32

[in] Index of the object within the object list.

strSeperator
String

[in] Separator to use in generating the string containing the extended name.

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsObjectListOwner::CalculateExtendedText(  
   [in] IVsObjectList *pList,   
   [in] ULONG iItem,   
   [in] LPCWSTR strSeperator  
);  

Applies to