IsValid Method
The geographic is valid.
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function IsValid ( _
operand As Geography _
) As Boolean
'Usage
Dim operand As Geography
Dim returnValue As Boolean
returnValue = operand.IsValid()
public static bool IsValid(
this Geography operand
)
[ExtensionAttribute]
public:
static bool IsValid(
Geography^ operand
)
static member IsValid :
operand:Geography -> bool
public static function IsValid(
operand : Geography
) : boolean
Parameters
- operand
Type: System.Spatial..::..Geography
The operand.
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 Geography. 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).