Share via


WellKnownTextSqlFormatter.Create Method (Boolean)

Creates the implementation of the formatter and checks whether the specified formatter has Z.

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

Syntax

'Declaration
Public Shared Function Create ( _
    allowOnlyTwoDimensions As Boolean _
) As WellKnownTextSqlFormatter
'Usage
Dim allowOnlyTwoDimensions As Boolean 
Dim returnValue As WellKnownTextSqlFormatter 

returnValue = WellKnownTextSqlFormatter.Create(allowOnlyTwoDimensions)
public static WellKnownTextSqlFormatter Create(
    bool allowOnlyTwoDimensions
)
public:
static WellKnownTextSqlFormatter^ Create(
    bool allowOnlyTwoDimensions
)
static member Create : 
        allowOnlyTwoDimensions:bool -> WellKnownTextSqlFormatter
public static function Create(
    allowOnlyTwoDimensions : boolean
) : WellKnownTextSqlFormatter

Parameters

  • allowOnlyTwoDimensions
    Type: System.Boolean
    Restricts the formatter to allow only two dimensions.

Return Value

Type: System.Spatial.WellKnownTextSqlFormatter
The created WellKnownTextSqlFormatter.

See Also

Reference

WellKnownTextSqlFormatter Class

Create Overload

System.Spatial Namespace