ReportColor Struct

Definition

表示报表中的颜色。Represents a color in a report.

public value class ReportColor : IFormattable, System::Xml::Serialization::IXmlSerializable
[System.ComponentModel.TypeConverter(typeof(Microsoft.ReportingServices.RdlObjectModel.ReportColorConverter))]
public struct ReportColor : IFormattable, System.Xml.Serialization.IXmlSerializable
type ReportColor = struct
    interface IXmlSerializable
    interface IFormattable
Public Structure ReportColor
Implements IFormattable, IXmlSerializable
Inheritance
ReportColor
Attributes
Implements

Constructors

ReportColor(Color)

创建 ReportColor 类的新实例。Creates a new instance of the ReportColor class.

ReportColor(String)

创建 ReportColor 类的新实例。Creates a new instance of the ReportColor class.

Properties

Color

获取或设置颜色。Gets or sets the color.

Empty

获取空颜色。Gets the empty color.

IsEmpty

获取一个值,该值指示该颜色是否为空颜色。Gets a value that indicates whether this is an empty color.

Methods

ColorToRdlString(Color)

将颜色转换为 RDL 字符串。Converts the color to an RDL string.

Equals(Object)

测试此对象是否等于另一个 ReportColor 对象。Tests the equality of this object and another ReportColor object.

GetHashCode()

获取当前实例的唯一哈希代码。Gets a unique hash code for the current instance.

Parse(String, IFormatProvider)

将某个字符串分析为一个 ReportColor 对象。Parses a string into a ReportColor object.

SetEmpty()

将当前实例设置为空颜色。Set the current instance to an empty color.

ToString()

返回当前颜色的字符串表示形式。Returns a string representation of the current color.

ToString(String, IFormatProvider)

返回当前颜色的字符串表示形式。Returns a string representation of the current color.

Operators

Equality(ReportColor, ReportColor)

测试两个 ReportColor 对象是否相等。Tests the equality of two ReportColor objects.

Inequality(ReportColor, ReportColor)

测试两个对象是否不相等 ReportColorTests the inequality of two ReportColor objects.

Explicit Interface Implementations

IXmlSerializable.GetSchema()

获取 xml 架构。Get the xml schema.

IXmlSerializable.ReadXml(XmlReader)

读取当前颜色的 xml 文档。Reads a xml documentation for the current color.

IXmlSerializable.WriteXml(XmlWriter)

写入当前颜色的 xml 文档。Writes a xml documentation for the current color.

Applies to