Class UserTag
- Namespace
- Kook
- Assembly
- Kook.Net.Core.dll
表示一个用户的标签。
public class UserTag : IEquatable<UserTag>
- Inheritance
-
UserTag
- Implements
- Inherited Members
Properties
BackgroundColor
获取此用户标签的背景色。
public AlphaColor BackgroundColor { get; }
Property Value
Color
获取此用户标签的颜色。
public Color Color { get; }
Property Value
Text
获取此用户标签的文本。
public string Text { get; }
Property Value
Methods
Equals(UserTag?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(UserTag? other)
Parameters
other
UserTagAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.