UnmanagedMemoryAccessor.ReadUInt16(Int64) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads an unsigned 16-bit integer from the accessor.
public:
System::UInt16 ReadUInt16(long position);
[System.CLSCompliant(false)]
public ushort ReadUInt16(long position);
[<System.CLSCompliant(false)>]
member this.ReadUInt16 : int64 -> uint16
Public Function ReadUInt16 (position As Long) As UShort
Parameters
- position
- Int64
The number of bytes into the accessor at which to begin reading.
Returns
The value that was read.
- Attributes
Exceptions
There are not enough bytes after position
to read a value.
position
is less than zero or greater than the capacity of the accessor.
The accessor does not support reading.
The accessor has been disposed.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET