IFormatterConverter.ToUInt16(Object) 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.
Important
This API is not CLS-compliant.
Converts a value to a 16-bit unsigned integer.
public:
System::UInt16 ToUInt16(System::Object ^ value);
public ushort ToUInt16 (object value);
[System.CLSCompliant(false)]
public ushort ToUInt16 (object value);
abstract member ToUInt16 : obj -> uint16
[<System.CLSCompliant(false)>]
abstract member ToUInt16 : obj -> uint16
Public Function ToUInt16 (value As Object) As UShort
Parameters
- value
- Object
The object to be converted.
Returns
The converted value
.
- Attributes
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.