ServiceDescriptionFormatExtension.Required 属性

定义

获取或设置一个值,该值指示 ServiceDescriptionFormatExtension 是否是它所引用的操作所必需的。Gets or sets a value indicating whether the ServiceDescriptionFormatExtension is necessary for the action to which it refers.

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

属性值

Boolean

如果 ServiceDescriptionFormatExtension 是必需的,则为 true;否则为 falsetrue if the ServiceDescriptionFormatExtension is required; otherwise, false. 默认为 falseThe default is false.

适用于