New to Telerik UI for WPFStart a free 30-day trial

Represents the SqlGeospatialDataReader class.

Definition

Constructors

Initializes a new instance of the SqlGeospatialDataReader class.

C#
public SqlGeospatialDataReader()

Fields

Identifies the GeospatialPropertyNameProperty dependency property.

C#
public static readonly DependencyProperty GeospatialPropertyNameProperty

SourceProperty

DependencyProperty

Identifies the ItemsSource dependency property.

C#
public static readonly DependencyProperty SourceProperty

Properties

Gets or sets the name of the geospatial data field.

C#
public string GeospatialPropertyName { get; set; }

Gets or sets the IEnumerable instance.

C#
public IEnumerable Source { get; set; }

Methods

Reads shapes.

C#
public void Read()

Reads shapes from the IEnumerable instance.

C#
public void Read(IEnumerable itemsSource, string geospatialPropertyName, object userState)
Parameters:itemsSourceIEnumerable

The IEnumerable instance.

geospatialPropertyNamestring

The Name of property which contains geospatial data.

userStateobject

A user-defined object that is passed to the method invoked when the asynchronous operation completes.

Reads shapes from the IEnumerable instance.

C#
public void Read(IEnumerable itemsSource, string geospatialPropertyName)
Parameters:itemsSourceIEnumerable

The IEnumerable instance.

geospatialPropertyNamestring

The Name of property which contains geospatial data.

Reads shapes.

C#
public void Read(object userState)
Parameters:userStateobject

A user-defined object that is passed to the method invoked when the asynchronous operation completes.