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