IVsTextViewIntellisenseHost.HighlightMatchingBrace 方法
命名空間: Microsoft.VisualStudio.TextManager.Interop
組件: Microsoft.VisualStudio.TextManager.Interop.8.0 (在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)
語法
'宣告
Function HighlightMatchingBrace ( _
dwFlags As UInteger, _
cSpans As UInteger, _
rgBaseSpans As TextSpan() _
) As Integer
int HighlightMatchingBrace(
uint dwFlags,
uint cSpans,
TextSpan[] rgBaseSpans
)
int HighlightMatchingBrace(
[InAttribute] unsigned int dwFlags,
[InAttribute] unsigned int cSpans,
[InAttribute] array<TextSpan>^ rgBaseSpans
)
abstract HighlightMatchingBrace :
dwFlags:uint32 *
cSpans:uint32 *
rgBaseSpans:TextSpan[] -> int
function HighlightMatchingBrace(
dwFlags : uint,
cSpans : uint,
rgBaseSpans : TextSpan[]
) : int
參數
dwFlags
類型:UInt32
cSpans
類型:UInt32
rgBaseSpans
類型:array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
傳回值
類型:Int32
如果此方法成功,則會傳回 NativeMethods.S_OK。如果失敗,它就會傳回錯誤碼。
備註
從 singlefileeditor.idl:
HRESULT IVsTextViewIntellisenseHost::HighlightMatchingBrace([in] DWORD dwFlags, [in] ULONG cSpans, [in, size_is(cSpans)] TextSpan *rgBaseSpans);
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。