SqlHierarchyId.Write 方法

Writes a SqlHierarchyId to a specified binary writer.

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

语法

声明
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Sub Write ( _
    w As BinaryWriter _
)
用法
Dim instance As SqlHierarchyId 
Dim w As BinaryWriter

instance.Write(w)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public void Write(
    BinaryWriter w
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
virtual void Write(
    BinaryWriter^ w
) sealed
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
abstract Write : 
        w:BinaryWriter -> unit 
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
override Write : 
        w:BinaryWriter -> unit
public final function Write(
    w : BinaryWriter
)

参数

实现

IBinarySerialize.Write(BinaryWriter)

注释

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

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

This member is sealed.

请参阅

参考

SqlHierarchyId 结构

Microsoft.SqlServer.Types 命名空间