TestUtilitiesConvertToBitString Method (Int64, Int32) |
Converts a value to a binary representation of a given length.
Namespace: Test.FrameworkAssembly: Test.Framework (in Test.Framework.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static string ConvertToBitString(
long value,
int countDigits
)
Public Shared Function ConvertToBitString (
value As Long,
countDigits As Integer
) As String
public:
static String^ ConvertToBitString(
long long value,
int countDigits
)
static member ConvertToBitString :
value : int64 *
countDigits : int -> string
Parameters
- value
- Type: SystemInt64
- countDigits
- Type: SystemInt32
Return Value
Type:
StringThe value, expressed as a sequence of binary digits, within a string of countDigits length.
See Also