IConvertible.ToUInt16 Method
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
Namespace: System
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PrivateFunctionToUInt16 ( _
providerAsIFormatProvider _
) AsUShortImplementsIConvertible.ToUInt16
'Usage
DiminstanceAsDateDimproviderAsIFormatProviderDimreturnValueAsUShortreturnValue = CType(instance, IConvertible).ToUInt16(provider)
ushortIConvertible.ToUInt16(
IFormatProviderprovider
)
private:
virtualunsigned shortToUInt16(
IFormatProvider^ provider
) sealed = IConvertible::ToUInt16
JScript does not support explicit interface implementations.
Parameters
- provider
Type: System. . :: . .IFormatProvider
Return Value
Type: System. . :: . .UInt16
Implements
IConvertible. . :: . .ToUInt16(IFormatProvider)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).