Decimal.TryGetBits(Decimal, Span<Int32>, Int32) 메서드

정의

지정된 인스턴스 Decimal 의 값을 해당하는 이진 표현으로 변환하려고 시도합니다.

public:
 static bool TryGetBits(System::Decimal d, Span<int> destination, [Runtime::InteropServices::Out] int % valuesWritten);
public static bool TryGetBits(decimal d, Span<int> destination, out int valuesWritten);
static member TryGetBits : decimal * Span<int> * int -> bool
Public Shared Function TryGetBits (d As Decimal, destination As Span(Of Integer), ByRef valuesWritten As Integer) As Boolean

매개 변수

d
Decimal

변환할 값입니다.

destination
Span<Int32>

이진 표현을 저장할 범위입니다.

valuesWritten
Int32

이 메서드가 반환되면 대상에 기록된 정수 수를 포함합니다.

반품

true 10진수의 이진 표현이 대상에 기록되었으면 이고, false 대상이 충분히 길지 않은 경우

적용 대상