ToUInt16 Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Converts the String to a UInt16 equivalent.
Namespace: Ws.Services.Serialization
Assembly: MFWsStack (in MFWsStack.dll)
Syntax
'Declaration
Public Shared Function ToUInt16 ( _
s As String _
) As UShort
public static ushort ToUInt16(
string s
)
public:
static unsigned short ToUInt16(
String^ s
)
static member ToUInt16 :
s:string -> uint16
public static function ToUInt16(
s : String
) : ushort
Parameters
- s
Type: System. . :: . .String
Holds the string to convert.
Return Value
Type: System. . :: . .UInt16
The UInt16 equivalent of the string.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.