Compartilhar via


Classe ItemParameter

Represents an item parameter.

Hierarquia de herança

System. . :: . .Object
  ReportService2010..::..ItemParameter

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

Sintaxe

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

O tipo ItemParameter expõe os membros a seguir.

Construtores

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

Início

Propriedades

  Nome Descrição
Propriedade pública AllowBlank Gets or sets a value that indicates whether an empty string is a valid value for the parameter.
Propriedade pública AllowBlankSpecified Gets or sets a value that indicates whether the AllowBlank property is specified.
Propriedade pública DefaultValues Gets or sets the default values for the parameter.
Propriedade pública DefaultValuesQueryBased Gets or sets a value that indicates whether the default values for the parameter are based on a query.
Propriedade pública DefaultValuesQueryBasedSpecified Gets or sets a value that indicates whether the DefaultValuesQueryBased property is 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 Gets the error message returned when a parameter value has failed validation.
Propriedade pública MultiValue Gets or sets a value that indicates whether the parameter is a multivalued parameter.
Propriedade pública MultiValueSpecified Gets or sets a value that indicates whether the MultiValue property is specified.
Propriedade pública Name Gets or sets the name of the parameter.
Propriedade pública Nullable Gets or sets a value that indicates whether the value of the parameter can be nullNothingnullptrunituma referência nula (Nothing no Visual Basic).
Propriedade pública NullableSpecified Gets or sets a value that indicates whether the Nullable property is specified.
Propriedade pública ParameterStateName Gets or sets the state of the parameter.
Propriedade pública ParameterTypeName Gets or sets the data type of the parameter.
Propriedade pública Prompt Gets or sets the text that prompts the user for parameter values.
Propriedade pública PromptUser Gets or sets a value that indicates whether the user is prompted for the value of the parameter.
Propriedade pública PromptUserSpecified Gets or sets a value that indicates whether the PromptUser property is specified.
Propriedade pública QueryParameter Gets or sets a value that indicates whether the parameter is used in a query.
Propriedade pública QueryParameterSpecified Gets or sets a value that indicates whether the QueryParameter property is specified.
Propriedade pública ValidValues Gets or sets the available ValidValue objects for the parameter.
Propriedade pública ValidValuesQueryBased Gets or sets a value that indicates whether the parameter's valid values are based on a query.
Propriedade pública ValidValuesQueryBasedSpecified Gets or sets a value that indicates whether the ValidValuesQueryBased property is 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 ItemParameter object is returned as output by the GetItemParameters(String, String, Boolean, array<ParameterValue>[]()[][], array<DataSourceCredentials>[]()[][]) method and is passed as input to the SetItemParameters(String, array<ItemParameter>[]()[][]) method.

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.

Consulte também

Referência