IVsCompletionSetBuilder.GetBuilderDisplayText Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣告
Function GetBuilderDisplayText ( _
iIndex As Integer, _
<OutAttribute> ByRef pbstrText As String, _
<OutAttribute> piGlyph As Integer() _
) As Integer
'用途
Dim instance As IVsCompletionSetBuilder
Dim iIndex As Integer
Dim pbstrText As String
Dim piGlyph As Integer()
Dim returnValue As Integer
returnValue = instance.GetBuilderDisplayText(iIndex, _
pbstrText, piGlyph)
int GetBuilderDisplayText(
int iIndex,
out string pbstrText,
int[] piGlyph
)
int GetBuilderDisplayText(
[InAttribute] int iIndex,
[OutAttribute] String^% pbstrText,
[OutAttribute] array<int>^ piGlyph
)
abstract GetBuilderDisplayText :
iIndex:int *
pbstrText:string byref *
piGlyph:int[] byref -> int
function GetBuilderDisplayText(
iIndex : int,
pbstrText : String,
piGlyph : int[]
) : int
Parameters
- iIndex
Type: System.Int32
[in]
- pbstrText
Type: System.String%
- piGlyph
Type: array<System.Int32[]
[out]
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 textmgr2.idl:
HRESULT IVsCompletionSetBuilder::GetBuilderDisplayText(
[in] long iIndex,
[out] const WCHAR **ppszText,
[out, optional] long *piGlyph
);
注意
The text buffer is created by the IVsCompletionSetBuilder object and the buffer must persist for the life of the IVsCompletionSetBuilder object or until the OnBuilderCommit method is called.
.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.
See Also
Reference
IVsCompletionSetBuilder Interface