SqlHierarchyId.Read Method (BinaryReader)

 

Applies To: SQL Server 2016 Preview

Reads from a specified binary reader into a SqlHierarchyId.

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

Syntax

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public void Read(
    BinaryReader r
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
virtual void Read(
    BinaryReader^ r
) sealed
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
abstract Read : 
        r:BinaryReader -> unit
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
override Read : 
        r:BinaryReader -> unit
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)>
Public Sub Read (
    r As BinaryReader
)

Parameters

Implements

IBinarySerialize.Read(BinaryReader)

Remarks

Throws an exception if r is null.

Throws an exception if the SqlHierarchyId is not null.

This member is sealed.

See Also

SqlHierarchyId Structure
Microsoft.SqlServer.Types Namespace

Return to top