UIntPtr.CreateChecked<TOther>(TOther) Yöntem

Tanım

Geçerli türün bir örneğini bir değerden oluşturur ve geçerli türün temsil edilebilir aralığının dışında kalan değerler için taşma özel durumu oluşturur.

public:
generic <typename TOther>
 where TOther : System::Numerics::INumberBase<TOther> static UIntPtr CreateChecked(TOther value) = System::Numerics::INumberBase<UIntPtr>::CreateChecked;
public static UIntPtr CreateChecked<TOther> (TOther value) where TOther : System.Numerics.INumberBase<TOther>;
static member CreateChecked : 'Other -> unativeint (requires 'Other :> System.Numerics.INumberBase<'Other>)
Public Shared Function CreateChecked(Of TOther As INumberBase(Of TOther)) (value As TOther) As UIntPtr

Tür Parametreleri

TOther

türü value.

Parametreler

value
TOther

örneğini TSelfoluşturmak için kullanılan değer.

Döndürülenler

UIntPtr

unativeint

'den valueoluşturulan bir TSelf örneği.

Uygulamalar

Şunlara uygulanır