Skip to content

Methods_T_Cyjb_Variant_5

CYJB edited this page Oct 20, 2022 · 1 revision

Variant(T1, T2, T3, T4, T5) 方法

The Variant(T1, T2, T3, T4, T5) 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, T3, T4).ResetValue(Int32).)
公共方法 SetValue(T1) 设置当前对象的值。 (继承自 Variant(T1, T2)。)
公共方法 SetValue(T2) 设置当前对象的值。 (继承自 Variant(T1, T2)。)
公共方法 SetValue(T3) 设置当前对象的值。 (继承自 Variant(T1, T2, T3)。)
公共方法 SetValue(T4) 设置当前对象的值。 (继承自 Variant(T1, T2, T3, T4)。)
公共方法 SetValue(T5) 设置当前对象的值。
公共方法 ToString Returns a string that represents the current object. (继承自 Object。)
公共方法 TryGetValue(T1) 检查当前对象的值是否是 T1,如果是则返回其值。 (继承自 Variant(T1, T2)。)
公共方法 TryGetValue(T3) 检查当前对象的值是否是 T3,如果是则返回其值。 (继承自 Variant(T1, T2, T3)。)
公共方法 TryGetValue(T4) 检查当前对象的值是否是 T4,如果是则返回其值。 (继承自 Variant(T1, T2, T3, T4)。)
公共方法 TryGetValue(T5) 检查当前对象的值是否是 T5,如果是则返回其值。
  Back to Top

参见

Reference

Variant(T1, T2, T3, T4, T5) 类
Cyjb 命名空间

Clone this wiki locally