ReportParameter.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).
命名空間: Microsoft.ReportingServices.RdlObjectModel
組件: Microsoft.ReportingServices.Designer.Controls (在 Microsoft.ReportingServices.Designer.Controls.dll 中)
語法
'宣告
Public Property DefaultValue As DefaultValue
Get
Set
'用途
Dim instance As ReportParameter
Dim value As DefaultValue
value = instance.DefaultValue
instance.DefaultValue = value
public DefaultValue DefaultValue { get; set; }
public:
property DefaultValue^ DefaultValue {
DefaultValue^ get ();
void set (DefaultValue^ value);
}
member DefaultValue : DefaultValue with get, set
function get DefaultValue () : DefaultValue
function set DefaultValue (value : DefaultValue)
屬性值
型別:Microsoft.ReportingServices.RdlObjectModel.DefaultValue
A DefaultValue object.