ReportColor 結構

Represents a color in a report.

命名空間:  Microsoft.ReportingServices.RdlObjectModel
組件:  Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)

語法

'宣告
Public Structure ReportColor _
    Implements IXmlSerializable, IFormattable
'用途
Dim instance As ReportColor
public struct ReportColor : IXmlSerializable, 
    IFormattable
public value class ReportColor : IXmlSerializable, 
    IFormattable
[<SealedAttribute>]
type ReportColor =  
    struct
        interface IXmlSerializable
        interface IFormattable
    end
JScript 支援結構的使用,但不支援結構的宣告。

ReportColor 型別公開下列成員。

建構函式

  名稱 說明
公用方法 ReportColor(Color) Creates a new instance of the ReportColor class.
公用方法 ReportColor(String) Creates a new instance of the ReportColor class.

上層

屬性

  名稱 說明
公用屬性 Color The color.
公用屬性靜態成員 Empty The empty color.
公用屬性 IsEmpty Indicates whether this is an empty color.

上層

方法

  名稱 說明
公用方法靜態成員 ColorToRdlString Converts the color to an RDL string.
公用方法 Equals Tests the equality of this object and another ReportColor object. (覆寫 ValueType. . :: . .Equals(Object)。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode Gets a unique hash code for the current instance. (覆寫 ValueType. . :: . .GetHashCode() () () ()。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法靜態成員 Parse 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. (覆寫 ValueType. . :: . .ToString() () () ()。)
公用方法 ToString(String, IFormatProvider) Returns a string representation of the current color.

上層

運算子

  名稱 說明
公用運算子靜態成員 Equality Tests the equality of two ReportColor objects.
公用運算子靜態成員 Inequality Tests the inequality of two ReportColor objects.

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。