FormatterConverter.ToUInt64(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Converts a value to a 64-bit unsigned integer.
public:
virtual System::UInt64 ToUInt64(System::Object ^ value);
[System.CLSCompliant(false)]
public ulong ToUInt64 (object value);
[<System.CLSCompliant(false)>]
abstract member ToUInt64 : obj -> uint64
override this.ToUInt64 : obj -> uint64
Public Function ToUInt64 (value As Object) As ULong
Parameters
- value
- Object
The object to convert.
Returns
The converted value
or null
if the type
parameter is null
.
Implements
- Attributes
Exceptions
The value
parameter is null
.
Remarks
This method uses the invariant culture (see CultureInfo.InvariantCulture). To use the current culture or to specify a culture, use the Convert.ToUInt64 method instead. For more information, see UInt64, Convert, and ValueType.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET