Класс ItemParameter
Represents an item parameter.
Иерархия наследования
System. . :: . .Object
ReportService2010..::..ItemParameter
Пространство имен: ReportService2010
Сборка: ReportService2010 (в ReportService2010.dll)
Синтаксис
'Декларация
<SerializableAttribute> _
Public Class ItemParameter
'Применение
Dim instance As ItemParameter
[SerializableAttribute]
public class ItemParameter
[SerializableAttribute]
public ref class ItemParameter
[<SerializableAttribute>]
type ItemParameter = class end
public class ItemParameter
Тип ItemParameter обеспечивает доступ к следующим элементам.
Конструкторы
Имя | Описание | |
---|---|---|
ItemParameter | Initializes a new instance of the ItemParameter class. |
В начало
Свойства
Имя | Описание | |
---|---|---|
AllowBlank | Gets or sets a value that indicates whether an empty string is a valid value for the parameter. | |
AllowBlankSpecified | Gets or sets a value that indicates whether the AllowBlank property is specified. | |
DefaultValues | Gets or sets the default values for the parameter. | |
DefaultValuesQueryBased | Gets or sets a value that indicates whether the default values for the parameter are based on a query. | |
DefaultValuesQueryBasedSpecified | Gets or sets a value that indicates whether the DefaultValuesQueryBased property is specified. | |
Dependencies | Gets or sets a list of parameters whose values are used to retrieve additional parameter values in a query. | |
ErrorMessage | Gets the error message returned when a parameter value has failed validation. | |
MultiValue | Gets or sets a value that indicates whether the parameter is a multivalued parameter. | |
MultiValueSpecified | Gets or sets a value that indicates whether the MultiValue property is specified. | |
Name | Gets or sets the name of the parameter. | |
Nullable | Gets or sets a value that indicates whether the value of the parameter can be nullNothingnullptrunitпустая ссылка (Nothing в Visual Basic). | |
NullableSpecified | Gets or sets a value that indicates whether the Nullable property is specified. | |
ParameterStateName | Gets or sets the state of the parameter. | |
ParameterTypeName | Gets or sets the data type of the parameter. | |
Prompt | Gets or sets the text that prompts the user for parameter values. | |
PromptUser | Gets or sets a value that indicates whether the user is prompted for the value of the parameter. | |
PromptUserSpecified | Gets or sets a value that indicates whether the PromptUser property is specified. | |
QueryParameter | Gets or sets a value that indicates whether the parameter is used in a query. | |
QueryParameterSpecified | Gets or sets a value that indicates whether the QueryParameter property is specified. | |
ValidValues | Gets or sets the available ValidValue objects for the parameter. | |
ValidValuesQueryBased | Gets or sets a value that indicates whether the parameter's valid values are based on a query. | |
ValidValuesQueryBasedSpecified | Gets or sets a value that indicates whether the ValidValuesQueryBased property is specified. |
В начало
Методы
Имя | Описание | |
---|---|---|
Equals | (Производный от Object.) | |
Finalize | (Производный от Object.) | |
GetHashCode | (Производный от Object.) | |
GetType | (Производный от Object.) | |
MemberwiseClone | (Производный от Object.) | |
ToString | (Производный от Object.) |
В начало
Замечания
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.
Безопасность многопоточности
Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.