Export (0) Print
Expand All
Expand Minimize

SqlGeography.Read Method

Reads a binary representation of a geography type into a SqlGeometry object.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public void Read(
	BinaryReader r
)

Parameters

r
Type: BinaryReader
BinaryReader object that reads a binary representation of a geography type.

Implements

IBinarySerializeRead(BinaryReader)

This member is sealed.

This method will throw a FormatException if SRID value read by r is invalid.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft