共用方式為


ExtensionParameter.Required Property

Definition

Gets a value that indicates whether the setting is required.

public:
 property bool Required { bool get(); void set(bool value); };
public bool Required { get; set; }
member this.Required : bool with get, set
Public Property Required As Boolean

Property Value

true if the extension setting is required; otherwise, false.

Remarks

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 Omitting Values for Optional Web Service Objects.

Applies to