共用方式為


Required 屬性

Gets a value that indicates whether the setting is required.

命名空間:  ReportService2010
組件:  ReportService2010 (在 ReportService2010.dll 中)

語法

'宣告
Public Property Required As Boolean
    Get
    Set
'用途
Dim instance As ExtensionParameter
Dim value As Boolean

value = instance.Required

instance.Required = value
public bool Required { get; set; }
public:
property bool Required {
    bool get ();
    void set (bool value);
}
member Required : bool with get, set
function get Required () : boolean
function set Required (value : boolean)

屬性值

型別:System. . :: . .Boolean
true if the extension setting is required; otherwise, false.

備註

The value for the Required property has a corresponding RequiredSpecified property that indicates whether this property should be omitted from the Web service call.

For more information about omitting properties, see 省略選擇性 Web 服務物件的值.