IVsObjectListOwner::CalculateExtendedText Method (IVsObjectList^, UInt32, String^)

 

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

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

int CalculateExtendedText(
	IVsObjectList^ pList,
	unsigned int iItem,
	String^ strSeperator
)

Parameters

pList
Type: Microsoft.VisualStudio.Shell.Interop::IVsObjectList^

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

iItem
Type: System::UInt32

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

strSeperator
Type: System::String^

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

Return Value

Type: System::Int32

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

From vsshell.idl:

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