共用方式為


IVsXMLMemberData3.GetCompletionListTextAt Method

Gets a value from a completion list

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
Function GetCompletionListTextAt ( _
    iParam As Integer, _
    <OutAttribute> ByRef pbstrCompletionList As String _
) As Integer
'用途
Dim instance As IVsXMLMemberData3
Dim iParam As Integer
Dim pbstrCompletionList As String
Dim returnValue As Integer

returnValue = instance.GetCompletionListTextAt(iParam, _
    pbstrCompletionList)
int GetCompletionListTextAt(
    int iParam,
    out string pbstrCompletionList
)
int GetCompletionListTextAt(
    [InAttribute] int iParam, 
    [OutAttribute] String^% pbstrCompletionList
)
abstract GetCompletionListTextAt : 
        iParam:int * 
        pbstrCompletionList:string byref -> int 
function GetCompletionListTextAt(
    iParam : int, 
    pbstrCompletionList : String
) : int

Parameters

  • iParam
    Type: System.Int32
    [in] The position of the list element.
  • pbstrCompletionList
    Type: System.String%
    [out] The value of the list element.

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 vsshell80.idl:

HRESULT IVsXMLMemberData3::GetCompletionListTextAt(
   [in] long iParam, 
   [out] BSTR *pbstrCompletionList
);

.NET Framework Security

See Also

Reference

IVsXMLMemberData3 Interface

IVsXMLMemberData3 Members

Microsoft.VisualStudio.Shell.Interop Namespace