Methods_T_Cyjb_Variant_3 - CYJB/Cyjb GitHub Wiki
The Variant(T1, T2, T3) generic type exposes the following members.
名称 | 说明 | |
---|---|---|
![]() |
Equals | Determines whether the specified object is equal to the current object. (继承自 Object。) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。) |
![]() |
GetHashCode | Serves as the default hash function. (继承自 Object。) |
![]() |
GetType | Gets the Type of the current instance. (继承自 Object。) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (继承自 Object。) |
![]() |
ResetValue | 重置所有值。 (重写 Variant(T1, T2).ResetValue(Int32).) |
![]() |
SetValue(T1) | 设置当前对象的值。 (继承自 Variant(T1, T2)。) |
![]() |
SetValue(T2) | 设置当前对象的值。 (继承自 Variant(T1, T2)。) |
![]() |
SetValue(T3) | 设置当前对象的值。 |
![]() |
ToString | Returns a string that represents the current object. (继承自 Object。) |
![]() |
TryGetValue(T1) | 检查当前对象的值是否是 T1,如果是则返回其值。 (继承自 Variant(T1, T2)。) |
![]() |
TryGetValue(T3) | 检查当前对象的值是否是 T3,如果是则返回其值。 |