FixedPoint.IConvertible.ToUInt16 Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
For a description of this member, see IConvertible.ToUInt16.
Namespace: Microsoft.WindowsMobile.DirectX.Direct3D
Assembly: Microsoft.WindowsMobile.DirectX (in Microsoft.WindowsMobile.DirectX.dll)
Syntax
'Declaration
Private Function ToUInt16 ( _
provider As IFormatProvider _
) As UShort Implements IConvertible.ToUInt16
'Usage
Dim instance As FixedPoint
Dim provider As IFormatProvider
Dim returnValue As UShort
returnValue = CType(instance, IConvertible).ToUInt16(provider)
ushort IConvertible.ToUInt16(
IFormatProvider provider
)
private:
virtual unsigned short ToUInt16(
IFormatProvider^ provider
) sealed = IConvertible::ToUInt16
private abstract ToUInt16 :
provider:IFormatProvider -> uint16
private override ToUInt16 :
provider:IFormatProvider -> uint16
Parameters
- provider
Type: System.IFormatProvider
An IFormatProvider interface implementation that supplies culture-specific formatting information.
Return Value
Type: System.UInt16
A 16-bit unsigned integer that is equivalent to the value of this instance.
Implements
IConvertible.ToUInt16(IFormatProvider)
Remarks
This member is an explicit interface member implementation. It can be used only when the FixedPoint instance is cast to an IConvertible interface.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Platforms
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Compact Framework
Supported in: 3.5, 2.0