IVsExpansionClient.IsValidKind Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'宣言
Function IsValidKind ( _
pBuffer As IVsTextLines, _
ts As TextSpan(), _
bstrKind As String, _
<OutAttribute> ByRef pfIsValidKind As Integer _
) As Integer
'使用
Dim instance As IVsExpansionClient
Dim pBuffer As IVsTextLines
Dim ts As TextSpan()
Dim bstrKind As String
Dim pfIsValidKind As Integer
Dim returnValue As Integer
returnValue = instance.IsValidKind(pBuffer, _
ts, bstrKind, pfIsValidKind)
int IsValidKind(
IVsTextLines pBuffer,
TextSpan[] ts,
string bstrKind,
out int pfIsValidKind
)
int IsValidKind(
[InAttribute] IVsTextLines^ pBuffer,
[InAttribute] array<TextSpan>^ ts,
[InAttribute] String^ bstrKind,
[OutAttribute] int% pfIsValidKind
)
abstract IsValidKind :
pBuffer:IVsTextLines *
ts:TextSpan[] *
bstrKind:string *
pfIsValidKind:int byref -> int
function IsValidKind(
pBuffer : IVsTextLines,
ts : TextSpan[],
bstrKind : String,
pfIsValidKind : int
) : int
Parameters
- pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines
- ts
Type: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
- bstrKind
Type: System.String
- pfIsValidKind
Type: System.Int32%
Return Value
Type: System.Int32
.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.