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
)
參數
- r
型別:System.IO.BinaryReader
The specified binary reader.
實作
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.