IVsSyntheticRegion.IsValid Method
Determines whether the region is currently valid.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaração
Function IsValid ( _
<OutAttribute> ByRef pfValid As Integer _
) As Integer
int IsValid(
out int pfValid
)
int IsValid(
[OutAttribute] int% pfValid
)
abstract IsValid :
pfValid:int byref -> int
function IsValid(
pfValid : int
) : int
Parameters
- pfValid
Type: System.Int32%
[out] Flag determining whether region is valid. True if valid, false if not.
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 textmgr.idl:
HRESULT IVsSyntheticRegion::IsValid(
[out] BOOL *pfValid
);
.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.