SqlGeography.Read Method (BinaryReader)

 

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: System.IO.BinaryReader

BinaryReader object that reads a binary representation of a geography type.

This member is sealed.

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

Return to top
Show: