UInt64.MinValue-Feld
Stellt den kleinstmöglichen Wert von UInt64 dar. Dieses Feld ist konstant.
Dieses Feld ist nicht CLS-kompatibel.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Syntax
'Declaration
Public Const MinValue As ULong
'Usage
Dim value As ULong
value = ULong.MinValue
public const ulong MinValue
public:
literal usigned long long MinValue
public static final UInt64 MinValue
public const var MinValue : ulong
Hinweise
Der Wert dieser Konstante ist 0.
Beispiel
public class Temperature {
public static ulong MinValue {
get {
return UInt64.MinValue;
}
}
public static ulong MaxValue {
get {
return UInt64.MaxValue;
}
}
// The value holder
protected ulong m_value;
public ulong Value {
get {
return m_value;
}
set {
m_value = value;
}
}
}
public ref class Temperature
{
public:
static property Int64 MinValue
{
Int64 get()
{
return UInt64::MinValue;
}
}
static property UInt64 MaxValue
{
UInt64 get()
{
return UInt64::MaxValue;
}
}
protected:
// The value holder
UInt64 m_value;
public:
property UInt64 Value
{
UInt64 get()
{
return m_value;
}
void set( UInt64 value )
{
m_value = value;
}
}
};
}
public class Temperature
{
/** @property
*/
public static long get_MinValue()
{
return System.Convert.ToInt64(UInt64.MinValue);
} //get_MinValue
/** @property
*/
public static long get_MaxValue()
{
return System.Convert.ToInt64(UInt64.MaxValue);
} //get_MaxValue
// The value holder
protected long mValue;
/** @property
*/
public long get_Value()
{
return mValue;
} //get_Value
/** @property
*/
public void set_Value(long value)
{
mValue = value;
} //set_Value
} //Temperature
public class Temperature {
public static function get MinValue() : ulong {
return UInt64.MinValue;
}
public static function get MaxValue() : ulong {
return UInt64.MaxValue;
}
// The value holder
protected var m_value : ulong ;
public function get Value() : ulong {
return m_value;
}
public function set Value(value : ulong) {
m_value = value;
}
}
Plattformen
Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile für Pocket PC, Windows Mobile für Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen.
Versionsinformationen
.NET Framework
Unterstützt in: 2.0, 1.1, 1.0
.NET Compact Framework
Unterstützt in: 2.0, 1.0