Freigeben über


SqlHierarchyId.Read-Methode

Reads from a specified binary reader into a SqlHierarchyId.

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

Syntax

'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Sub Read ( _
    r As BinaryReader _
)
'Usage
Dim instance As SqlHierarchyId 
Dim r As BinaryReader

instance.Read(r)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public void Read(
    BinaryReader r
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
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
public final function Read(
    r : BinaryReader
)

Parameter

Implementiert

IBinarySerialize.Read(BinaryReader)

Hinweise

Throws an exception if r is nullein NULL-Verweis (Nothing in Visual Basic).

Throws an exception if the SqlHierarchyId is not nullein NULL-Verweis (Nothing in Visual Basic).

This member is sealed.

Siehe auch

Verweis

SqlHierarchyId Struktur

Microsoft.SqlServer.Types-Namespace