IVsObjectListOwner.CalculateExtendedText Method

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)

Syntax

'宣言
Function CalculateExtendedText ( _
    pList As IVsObjectList, _
    iItem As UInteger, _
    strSeperator As String _
) As Integer
'使用
Dim instance As IVsObjectListOwner
Dim pList As IVsObjectList
Dim iItem As UInteger
Dim strSeperator As String
Dim returnValue As Integer

returnValue = instance.CalculateExtendedText(pList, _
    iItem, strSeperator)
int CalculateExtendedText(
    IVsObjectList pList,
    uint iItem,
    string strSeperator
)
int CalculateExtendedText(
    [InAttribute] IVsObjectList^ pList, 
    [InAttribute] unsigned int iItem, 
    [InAttribute] String^ strSeperator
)
function CalculateExtendedText(
    pList : IVsObjectList, 
    iItem : uint, 
    strSeperator : String
) : int

Parameters

  • 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.

Remarks

COM Signature

From vsshell.idl:

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

Permissions

See Also

Reference

IVsObjectListOwner Interface

IVsObjectListOwner Members

Microsoft.VisualStudio.Shell.Interop Namespace