Структура 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 Gets or sets the color.
Открытое свойствоСтатический элемент Empty Gets the empty color.
Открытое свойство IsEmpty Gets a value that 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).)
Открытый метод GetHashCode Gets a unique hash code for the current instance. (Переопределяет ValueType.GetHashCode().)
Открытый метод GetType (Производный от 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.

В начало

Явные реализации интерфейса

  Имя Описание
Явная реализация интерфейсаЗакрытый метод IXmlSerializable.GetSchema Get the xml schema.
Явная реализация интерфейсаЗакрытый метод IXmlSerializable.ReadXml Reads a xml documentation for the current color.
Явная реализация интерфейсаЗакрытый метод IXmlSerializable.WriteXml Writes a xml documentation for the current color.

В начало

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник

Пространство имен Microsoft.ReportingServices.RdlObjectModel