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
)
參數
- w
型別:System.IO.BinaryWriter
The specified binary writer.
實作
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.