ExtensionParameter.Required ExtensionParameter.Required ExtensionParameter.Required Property

定义

获取一个值,该值指示此设置是否是必需的设置。 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; }
Public Property Required As Boolean
属性值

true 如果扩展设置是必需的;否则为false true if the extension setting is required; otherwise, false.

注解

Required属性都具有对应的RequiredSpecified属性,该值指示是否应从 Web 服务调用省略此属性。The value for the Required property has a corresponding RequiredSpecified property that indicates whether this property should be omitted from the Web service call.

有关省略属性的详细信息,请参阅省略可选的 Web 服务对象的值For more information about omitting properties, see Omitting Values for Optional Web Service Objects.

适用于