MakeValid Method

The geographic make valid.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function MakeValid ( _
    operand As Geography _
) As Geography
'Usage
Dim operand As Geography
Dim returnValue As Geography

returnValue = operand.MakeValid()
public static Geography MakeValid(
    this Geography operand
)
[ExtensionAttribute]
public:
static Geography^ MakeValid(
    Geography^ operand
)
static member MakeValid : 
        operand:Geography -> Geography 
public static function MakeValid(
    operand : Geography
) : Geography

Parameters

Return Value

Type: System.Spatial..::..Geography
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).

See Also

Reference

GeographyOperationsExtensions Class

System.Spatial Namespace