SqlHierarchyId.Read 方法

Reads from a specified binary reader into a SqlHierarchyId.

命名空间:  Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)

语法

声明
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Sub Read ( _
    r As BinaryReader _
)
用法
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
)

参数

实现

IBinarySerialize.Read(BinaryReader)

注释

Throws an exception if r is nullnull 引用(在 Visual Basic 中为 Nothing).

Throws an exception if the SqlHierarchyId is not nullnull 引用(在 Visual Basic 中为 Nothing).

This member is sealed.

请参阅

参考

SqlHierarchyId 结构

Microsoft.SqlServer.Types 命名空间