[This is preliminary documentation and is subject to change.]
Namespace: NFXAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static Nullable<ushort> AsNullableUShort(
this string val,
Nullable<ushort> dflt = 0
)
public static Nullable<ushort> AsNullableUShort(
this string val,
Nullable<ushort> dflt = 0
)
<ExtensionAttribute>
Public Shared Function AsNullableUShort (
val As String,
Optional dflt As Nullable(Of UShort) = 0
) As Nullable(Of UShort)
<ExtensionAttribute>
Public Shared Function AsNullableUShort (
val As String,
Optional dflt As Nullable(Of UShort) = 0
) As Nullable(Of UShort)
public:
[ExtensionAttribute]
static Nullable<unsigned short> AsNullableUShort(
String^ val,
Nullable<unsigned short> dflt = 0
)
public:
[ExtensionAttribute]
static Nullable<unsigned short> AsNullableUShort(
String^ val,
Nullable<unsigned short> dflt = 0
)
static member AsNullableUShort :
val : string *
?dflt : Nullable<uint16>
(* Defaults:
let _dflt = defaultArg dflt 0
*)
-> Nullable<uint16>
static member AsNullableUShort :
val : string *
?dflt : Nullable<uint16>
(* Defaults:
let _dflt = defaultArg dflt 0
*)
-> Nullable<uint16>
Return Value
Type:
Nullable
UInt16 Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
String. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).