Compartir a través de


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

'Declaration
Function CalculateExtendedText ( _
    pList As IVsObjectList, _
    iItem As UInteger, _
    strSeperator As String _
) As Integer
int CalculateExtendedText(
    IVsObjectList pList,
    uint iItem,
    string strSeperator
)
int CalculateExtendedText(
    [InAttribute] IVsObjectList^ pList, 
    [InAttribute] unsigned int iItem, 
    [InAttribute] String^ strSeperator
)
abstract CalculateExtendedText : 
        pList:IVsObjectList * 
        iItem:uint32 * 
        strSeperator:string -> int
function CalculateExtendedText(
    pList : IVsObjectList, 
    iItem : uint, 
    strSeperator : String
) : int

Parameters

  • iItem
    Type: UInt32

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

  • strSeperator
    Type: String

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

Return Value

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

.NET Framework Security

See Also

Reference

IVsObjectListOwner Interface

Microsoft.VisualStudio.Shell.Interop Namespace