طريقة System::Text::Encoding::GetByteCount

Encoding::GetByteCount(ArrayPtr<char_t>) method

احصل على عدد الأحرف المطلوبة لترميز مخزن الأحرف.

virtual int System::Text::Encoding::GetByteCount(ArrayPtr<char_t> chars)
ParameterTypeالوصف
charsArrayPtr<char_t>مخزن الأحرف.

ReturnValue

حجم المخزن المطلوب.

انظر أيضًا

Encoding::GetByteCount(ArrayPtr<char_t>, int, int) method

احصل على عدد الأحرف المطلوبة لترميز مخزن الأحرف.

virtual int System::Text::Encoding::GetByteCount(ArrayPtr<char_t> chars, int index, int count)
ParameterTypeالوصف
charsArrayPtr<char_t>مخزن الأحرف.
الفهرسintبداية القطعة.
countintحجم الشريحة.

ReturnValue

حجم المخزن المطلوب.

انظر أيضًا

Encoding::GetByteCount(const char_t *, int) method

احصل على عدد الأحرف المطلوبة لترميز مخزن الأحرف.

virtual int System::Text::Encoding::GetByteCount(const char_t *chars, int count)
ParameterTypeالوصف
charsconst char_t *مخزن الأحرف.
countintحجم Buffer.

ReturnValue

حجم المخزن المطلوب.

انظر أيضًا

Encoding::GetByteCount(const String&) method

احصل على عدد الأحرف المطلوبة لترميز سلسلة.

virtual int System::Text::Encoding::GetByteCount(const String &s)
ParameterTypeالوصف
sconst String&String للترميز.

ReturnValue

حجم المخزن المطلوب.

انظر أيضًا

Encoding::GetByteCount(const System::Details::StackArray<char_t, N>&, int, int) method

احصل على عدد الأحرف المطلوبة لترميز مخزن الأحرف.

template<std::size_t> int System::Text::Encoding::GetByteCount(const System::Details::StackArray<char_t, N> &chars, int index, int count)
ParameterTypeالوصف
charsconst System::Details::StackArray<char_t, N>&مخزن الأحرف.
الفهرسintبداية القطعة.
countintحجم الشريحة.

ReturnValue

حجم المخزن المطلوب.

انظر أيضًا

Encoding::GetByteCount(System::Details::ArrayView<char_t>, int, int) method

احصل على عدد الأحرف المطلوبة لترميز مخزن الأحرف.

virtual int System::Text::Encoding::GetByteCount(System::Details::ArrayView<char_t> chars, int index, int count)
ParameterTypeالوصف
charsSystem::Details::ArrayView<char_t>مخزن الأحرف.
الفهرسintبداية القطعة.
countintحجم الشريحة.

ReturnValue

حجم المخزن المطلوب.

انظر أيضًا