IVsExpansionClient.IsValidType Method
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
声明
Function IsValidType ( _
pBuffer As IVsTextLines, _
ts As TextSpan(), _
rgTypes As String(), _
iCountTypes As Integer, _
<OutAttribute> ByRef pfIsValidType As Integer _
) As Integer
用法
Dim instance As IVsExpansionClient
Dim pBuffer As IVsTextLines
Dim ts As TextSpan()
Dim rgTypes As String()
Dim iCountTypes As Integer
Dim pfIsValidType As Integer
Dim returnValue As Integer
returnValue = instance.IsValidType(pBuffer, _
ts, rgTypes, iCountTypes, pfIsValidType)
int IsValidType(
IVsTextLines pBuffer,
TextSpan[] ts,
string[] rgTypes,
int iCountTypes,
out int pfIsValidType
)
int IsValidType(
[InAttribute] IVsTextLines^ pBuffer,
[InAttribute] array<TextSpan>^ ts,
[InAttribute] array<String^>^ rgTypes,
[InAttribute] int iCountTypes,
[OutAttribute] int% pfIsValidType
)
abstract IsValidType :
pBuffer:IVsTextLines *
ts:TextSpan[] *
rgTypes:string[] *
iCountTypes:int *
pfIsValidType:int byref -> int
function IsValidType(
pBuffer : IVsTextLines,
ts : TextSpan[],
rgTypes : String[],
iCountTypes : int,
pfIsValidType : int
) : int
Parameters
- pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines
- ts
Type: array<Microsoft.VisualStudio.TextManager.Interop.TextSpan[]
- rgTypes
Type: array<System.String[]
- iCountTypes
Type: System.Int32
- pfIsValidType
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.