Buffer Method

The geographic buffer.

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


<ExtensionAttribute> _
Public Shared Function Buffer ( _
    operand As Geography, _
    distance As Double, _
    tolerance As Double _
) As Geography
Dim operand As Geography
Dim distance As Double
Dim tolerance As Double
Dim returnValue As Geography

returnValue = operand.Buffer(distance, _
public static Geography Buffer(
    this Geography operand,
    double distance,
    double tolerance
static Geography^ Buffer(
    Geography^ operand, 
    double distance, 
    double tolerance
static member Buffer : 
        operand:Geography * 
        distance:float * 
        tolerance:float -> Geography 
public static function Buffer(
    operand : Geography, 
    distance : double, 
    tolerance : double
) : Geography


Return Value

Type: System.Spatial..::..Geography
The buffered geography.

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


GeographyOperationsExtensions Class

System.Spatial Namespace