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
pList
Type: Microsoft.VisualStudio.Shell.Interop.IVsObjectList[in] Pointer to the list of objects, an IVsObjectList interface.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.