IsValid Method

The geometric is valid.

Namespace:  System.Spatial
Assembly:  System.Spatial (in System.Spatial.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function IsValid ( _
    operand As Geometry _
) As Boolean
'Usage
Dim operand As Geometry
Dim returnValue As Boolean

returnValue = operand.IsValid()
public static bool IsValid(
    this Geometry operand
)
[ExtensionAttribute]
public:
static bool IsValid(
    Geometry^ operand
)
static member IsValid : 
        operand:Geometry -> bool 
public static function IsValid(
    operand : Geometry
) : boolean

Parameters

Return Value

Type: System..::..Boolean
The operation result.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Geometry. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).

See Also

Reference

GeometryOperationsExtensions Class

System.Spatial Namespace