System::Globalization::IdnMapping 类

IdnMapping class

IdnMapping used to map names to Punycode. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class IdnMapping : public System::Object

方法

方法描述
Equals(SharedPtr<Object>) override比较两个 IdnMapping 对象。
get_AllowUnassigned() const获取指示操作中是否使用未分配代码点的标志。
get_UseStd3AsciiRules() const获取指示操作中是否使用标准命名约定的标志。
GetAscii(const String&) constConvert 将 Unicode 域名转换为等效的 ASCII。
GetAscii(const String&, int) constConvert 将 Unicode 域名转换为等效的 ASCII。
GetAscii(const String&, int, int) constConvert 将 Unicode 域名转换为等效的 ASCII。
GetHashCode() const override获取当前 IdnMapping 对象的哈希码。
GetUnicode(const String&) constConvert 将 ASCII 域名转换为等效的 Unicode。
GetUnicode(const String&, int) constConvert 将 ASCII 域名转换为等效的 Unicode。
GetUnicode(const String&, int, int) constConvert 将 ASCII 域名转换为等效的 Unicode。
IdnMapping()RTTI 信息。
IdnMapping(const IdnMapping&)
operator=(const IdnMapping&)
set_AllowUnassigned(bool)设置指示操作中是否使用未分配代码点的标志。
set_UseStd3AsciiRules(bool)设置指示操作中是否使用标准命名约定的标志。

另见