ItemParameter.PromptUser ItemParameter.PromptUser ItemParameter.PromptUser Property

定义

获取或设置一个值,该值指示是否提示用户输入参数值。 Gets or sets a value that indicates whether the user is prompted for the value of the parameter.

public:
 property bool PromptUser { bool get(); void set(bool value); };
public bool PromptUser { get; set; }
Public Property PromptUser As Boolean
属性值

true 如果值的参数,则系统会提示用户否则为false true if the user is prompted for the value of the parameter; otherwise, false. 默认值为 false The default is false.

注解

如果此属性设置为false,尝试提供参数值将返回错误。If this property is set to false, trying to supply a parameter value will return an error.

PromptUser属性都具有对应的PromptUserSpecified属性,该值指示是否应从 Web 服务调用省略此属性。The value for the PromptUser property has a corresponding PromptUserSpecified 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.

适用于