Share via


ReportColor Structure

Represents a color in a report.

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public Structure ReportColor _
    Implements IXmlSerializable, IFormattable
'Usage
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 suports the use of structures, but not the declaration of new ones.

The ReportColor type exposes the following members.

Constructors

  Name Description
Public method ReportColor(Color) Creates a new instance of the ReportColor class.
Public method ReportColor(String) Creates a new instance of the ReportColor class.

Top

Properties

  Name Description
Public property Color Gets or sets the color.
Public propertyStatic member Empty Gets the empty color.
Public property IsEmpty Gets a value that indicates whether this is an empty color.

Top

Methods

  Name Description
Public methodStatic member ColorToRdlString Converts the color to an RDL string.
Public method Equals Tests the equality of this object and another ReportColor object. (Overrides ValueType.Equals(Object).)
Public method GetHashCode Gets a unique hash code for the current instance. (Overrides ValueType.GetHashCode().)
Public method GetType (Inherited from Object.)
Public methodStatic member Parse Parses a string into a ReportColor object.
Public method SetEmpty Set the current instance to an empty color.
Public method ToString() Returns a string representation of the current color. (Overrides ValueType.ToString().)
Public method ToString(String, IFormatProvider) Returns a string representation of the current color.

Top

Operators

  Name Description
Public operatorStatic member Equality Tests the equality of two ReportColor objects.
Public operatorStatic member Inequality Tests the inequality of two ReportColor objects.

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IXmlSerializable.GetSchema Get the xml schema.
Explicit interface implemetationPrivate method IXmlSerializable.ReadXml Reads a xml documentation for the current color.
Explicit interface implemetationPrivate method IXmlSerializable.WriteXml Writes a xml documentation for the current color.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.ReportingServices.RdlObjectModel Namespace