Поделиться через


Класс ReportParameter

Contains information about a parameter to the report.

Иерархия наследования

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.ReportParameter

Пространство имен:  Microsoft.ReportingServices.RdlObjectModel
Сборка:  Microsoft.ReportingServices.Designer.Controls (в Microsoft.ReportingServices.Designer.Controls.dll)

Синтаксис

'Декларация
Public Class ReportParameter _
    Inherits ReportObject _
    Implements INamedObject
'Применение
Dim instance As ReportParameter
public class ReportParameter : ReportObject, 
    INamedObject
public ref class ReportParameter : public ReportObject, 
    INamedObject
type ReportParameter =  
    class 
        inherit ReportObject 
        interface INamedObject 
    end
public class ReportParameter extends ReportObject implements INamedObject

Тип ReportParameter обеспечивает доступ к следующим элементам.

Конструкторы

  Имя Описание
Открытый метод ReportParameter Creates a new instance of the ReportParameter class.

В начало

Свойства

  Имя Описание
Открытое свойство AllowBlank Gets or sets a value that indicates whether the value for this parameter is allowed to be the empty string.
Открытое свойство ComponentMetadata Gets or sets the component metadata. (Производный от ReportObject.)
Открытое свойство DataType Gets or sets the data type of the parameter.
Открытое свойство DefaultValue Gets or sets the default value to use for the parameter (if not provided by the user). If no value is provided as a part of the definition or by the user, the value is null. Required if there is no Prompt and either Nullable is False or a ValidValues list is provided that does not contain Null (an omitted Value).
Открытое свойство Hidden Gets or sets a value that indicates whether the parameter should not be displayed to the user (however, it will still be available for programmatic use with subreports, drillthrough reports etc.).
Открытое свойство MultiValue Gets or sets a value that indicates whether this is a multivalue parameter (a parameter that can take a set of values).
Открытое свойство Name Gets or sets the report parameter name.
Открытое свойство Nullable Gets or sets a value that indicates whether the value for this parameter is allowed to be Null.
Открытое свойство Parent The parent of this report object. (Производный от ReportObjectBase.)
Открытое свойство Prompt Gest or sets the user prompt to display when asking for parameter values.
Открытое свойство PromptLocID Инфраструктура. Gets or sets the unique identifier for the Prompt property.
Открытое свойство Site Инфраструктура. Gets or sets the site associated with the ReportObject object. (Производный от ReportObject.)
Открытое свойство UsedInQuery Gets or sets a value that indicates whether or not the parameter is used in a query in the report.
Открытое свойство ValidValues Gets or sets the possible values for the parameter (for the end-user UI).

В начало

Методы

  Имя Описание
Открытый метод DeepClone Returns a deep clone of this ReportObject instance. (Производный от ReportObject.)
Открытый метод Equals (Производный от Object.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetContainingDataScopes Инфраструктура. Returns the list of report object that contains data scopes. (Производный от ReportObject.)
Защищенный метод GetDataScopesForDefaultImpl Инфраструктура. Returns the data scopes for default implementation. (Производный от ReportObject.)
Защищенный метод GetDependenciesCore Инфраструктура. Returns the dependencies core for the ReportObject object. (Производный от ReportObject.)
Открытый метод GetHashCode (Производный от Object.)
Открытый метод GetType (Производный от Object.)
Открытый метод Initialize Инфраструктура. Initializes an instance of ReportObject. (Производный от ReportObject.)
Защищенный метод InitializeForDesigner Инфраструктура. Initializes the report object for designer. (Производный от ReportObject.)
Защищенный метод MemberwiseClone (Производный от Object.)
Защищенный метод OnChildPropertyChanged Инфраструктура. Raises an event when the property of the child was changed. (Производный от ReportObject.)
Защищенный метод OnPropertyChanged Инфраструктура. Raises an event when the property was changed. (Производный от ReportObject.)
Защищенный метод RdlSemanticEqualsCore Инфраструктура. Indicates whether the RDL semantic is equal to the core objects. (Переопределяет ReportObject.RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>).)
Защищенный метод SavePropertyValue<T> Инфраструктура. Saves the property value of the report object. (Производный от ReportObject.)
Открытый метод ToString (Производный от Object.)

В начало

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

  Имя Описание
Явная реализация интерфейсаЗакрытый метод IDisposable.Dispose Инфраструктура. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Производный от ReportObject.)
Явная реализация интерфейсаЗакрытое событие IComponent.Disposed Инфраструктура. Occurs when the ReportObject object is disposed. (Производный от ReportObject.)

В начало

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

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

См. также

Справочник

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