Partager via


Structure ReportColor

Represents a color in a report.

Espace de noms :  Microsoft.ReportingServices.RdlObjectModel
Assembly :  Microsoft.ReportingServices.Designer.Controls (en Microsoft.ReportingServices.Designer.Controls.dll)

Syntaxe

'Déclaration
Public Structure ReportColor _
    Implements IXmlSerializable, IFormattable
'Utilisation
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 prend en charge l'utilisation de structures, mais pas la déclaration de nouvelles structures.

Le type ReportColor expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique ReportColor(Color) Creates a new instance of the ReportColor class.
Méthode publique ReportColor(String) Creates a new instance of the ReportColor class.

Haut de la page

Propriétés

  Nom Description
Propriété publique Color Gets or sets the color.
Propriété publiqueMembre statique Empty Gets the empty color.
Propriété publique IsEmpty Gets a value that indicates whether this is an empty color.

Haut de la page

Méthodes

  Nom Description
Méthode publiqueMembre statique ColorToRdlString Converts the color to an RDL string.
Méthode publique Equals Tests the equality of this object and another ReportColor object. (remplace ValueType.Equals(Object).)
Méthode publique GetHashCode Gets a unique hash code for the current instance. (remplace ValueType.GetHashCode().)
Méthode publique GetType (hérité de Object.)
Méthode publiqueMembre statique Parse Parses a string into a ReportColor object.
Méthode publique SetEmpty Set the current instance to an empty color.
Méthode publique ToString() Returns a string representation of the current color. (remplace ValueType.ToString().)
Méthode publique ToString(String, IFormatProvider) Returns a string representation of the current color.

Haut de la page

Opérateurs

  Nom Description
Opérateur publicMembre statique Equality Tests the equality of two ReportColor objects.
Opérateur publicMembre statique Inequality Tests the inequality of two ReportColor objects.

Haut de la page

Implémentations d'interfaces explicites

  Nom Description
Implémentation d'interface expliciteMéthode privée IXmlSerializable.GetSchema Get the xml schema.
Implémentation d'interface expliciteMéthode privée IXmlSerializable.ReadXml Reads a xml documentation for the current color.
Implémentation d'interface expliciteMéthode privée IXmlSerializable.WriteXml Writes a xml documentation for the current color.

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.ReportingServices.RdlObjectModel