共用方式為


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 命名空間