IVsObjectListOwner.GetExtendedText Method
Retrieves the extended text (fully qualified object names) produced by the call to CalculateExtendedText.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'宣言
Function GetExtendedText ( _
pwszExtText As IntPtr _
) As Integer
'使用
Dim instance As IVsObjectListOwner
Dim pwszExtText As IntPtr
Dim returnValue As Integer
returnValue = instance.GetExtendedText(pwszExtText)
int GetExtendedText(
IntPtr pwszExtText
)
int GetExtendedText(
[InAttribute] IntPtr pwszExtText
)
function GetExtendedText(
pwszExtText : IntPtr
) : int
Parameters
pwszExtText
Type: System.IntPtr[out] String containing the fully qualified object names created by the call to CalculateExtendedText. Items are separated by the separator specified in that call.
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::GetExtendedText(
[out] LPCWSTR *pwszExtText
);
Permissions
- 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.