Partager via


Propriété Required

Gets a value that indicates whether the setting is required.

Espace de noms :  ReportService2010
Assembly :  ReportService2010 (en ReportService2010.dll)

Syntaxe

'Déclaration
Public Property Required As Boolean
    Get
    Set
'Utilisation
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)

Valeur de propriété

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

Notes

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 Omission de valeurs pour les objets de service Web facultatifs.