Partilhar via


Classe ReportParameter

Represents a report parameter.

Hierarquia de herança

System. . :: . .Object
  ReportExecution2005..::..ReportParameter

Namespace:  ReportExecution2005
Assembly:  ReportExecution2005 (em ReportExecution2005.dll)

Sintaxe

'Declaração
<SerializableAttribute> _
Public Class ReportParameter
'Uso
Dim instance As ReportParameter
[SerializableAttribute]
public class ReportParameter
[SerializableAttribute]
public ref class ReportParameter
[<SerializableAttribute>]
type ReportParameter =  class end
public class ReportParameter

O tipo ReportParameter expõe os membros a seguir.

Construtores

  Nome Descrição
Método público ReportParameter Initializes a new instance of the ReportParameter class.

Início

Propriedades

  Nome Descrição
Propriedade pública AllowBlank Indicates whether an empty string is a valid value for the parameter. Read-only.
Propriedade pública AllowBlankSpecified Indicates that the AllowBlank property has been specified.
Propriedade pública DefaultValues Gets or sets the default values of the parameter.
Propriedade pública DefaultValuesQueryBased Indicates whether the default values of the parameter are based on a query. Boolean. Read-only.
Propriedade pública DefaultValuesQueryBasedSpecified Indicates whether the DefaultValuesQueryBased property has been specified.
Propriedade pública Dependencies Gets or sets a list of parameters whose values are used to retrieve additional parameter values in a query.
Propriedade pública ErrorMessage An error message, returned when the parameter has failed validation.
Propriedade pública MultiValue Indicates whether the parameter can be a multivalue parameter.
Propriedade pública MultiValueSpecified Indicates whether the MultiValue property has been specified.
Propriedade pública Name Gets or sets the name of the parameter.
Propriedade pública Nullable Indicates whether the value of the parameter can be nullNothingnullptrunituma referência nula (Nothing no Visual Basic).
Propriedade pública NullableSpecified Indicates whether the Nullable property has been specified.
Propriedade pública Prompt Gets or sets the text that prompts the user to provide parameter values.
Propriedade pública PromptUser Indicates whether the user is prompted for the value of the parameter.
Propriedade pública PromptUserSpecified Indicates whether a value for the PromptUser property is specified.
Propriedade pública QueryParameter Indicates whether the parameter is used in a query to an external data source.
Propriedade pública QueryParameterSpecified Indicates whether the ReportParameter property has been specified.
Propriedade pública State Describes the state (ParameterStateEnum) of the parameter.
Propriedade pública StateSpecified Indicates whether the State property has been specified.
Propriedade pública Type The data type (ParameterTypeEnum) of the parameter.
Propriedade pública TypeSpecified Indicates whether the Type property has been specified.
Propriedade pública ValidValues The available valid values for the parameter. Read-only.
Propriedade pública ValidValuesQueryBased Indicates whether the parameter's valid values are based on a query. Read-only.
Propriedade pública ValidValuesQueryBasedSpecified Indicates whether the ValidValuesQueryBased property has been specified.

Início

Métodos

  Nome Descrição
Método público Equals (Herdado de Object.)
Método protegido Finalize (Herdado de Object.)
Método público GetHashCode (Herdado de Object.)
Método público GetType (Herdado de Object.)
Método protegido MemberwiseClone (Herdado de Object.)
Método público ToString (Herdado de Object.)

Início

Comentários

A ReportParameter object is returned as output by the GetReportParameters method and is passed as input to the SetReportParameters method.

The value of the ReportParameter may change if the user calls SetReportDefinition.

Segurança de thread

Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.