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

이 메서드가 반환 될 때 대상에 쓰여진 정수 수를 포함 합니다.

반환

Boolean

10진수의 이진 표현이 대상에 쓰이면 true이고, 대상이 충분히 길지 않으면 false입니다.

적용 대상