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:
virtual void Read(
	BinaryReader^ r
) sealed

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.

Community Additions

ADD
Show:
© 2014 Microsoft