M_Cyjb_Globalization_UnicodeCategoryUtil_GetName - CYJB/Cyjb GitHub Wiki
返回当前 UnicodeCategory 的名称(Lu、Ll 等)。
Namespace: Cyjb.Globalization
Assembly: Cyjb (in Cyjb.dll) Version: 1.0.23+7750dd8e971297c5fa962a3bee37fb78f72793f6
C#
public static string GetName(
this UnicodeCategory category
)
- category
- Type: System.Globalization.UnicodeCategory
当前 UnicodeCategory。
Type: String
当前 UnicodeCategory 的名称。
在 Visual Basic 和 C# 中,这个方法可以当成为类型UnicodeCategory的实例方法来调用。在采用实例方法语法调用这个方法时,请省略第一个参数。请参考 扩展方法 (Visual Basic) 或 扩展方法 (C# 编程指南) 获取更多信息。