Share via


StructuralPropertyConfiguration.OptionalProperty Property

Gets or sets a value indicating whether this property is optional or not.

Namespace:  System.Web.Http.OData.Builder
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Syntax

'Declaration
Public Property OptionalProperty As Boolean 
    Get 
    Set
'Usage
Dim instance As StructuralPropertyConfiguration 
Dim value As Boolean 

value = instance.OptionalProperty

instance.OptionalProperty = value
public bool OptionalProperty { get; set; }
public:
property bool OptionalProperty {
    bool get ();
    void set (bool value);
}
member OptionalProperty : bool with get, set
function get OptionalProperty () : boolean 
function set OptionalProperty (value : boolean)

Property Value

Type: System.Boolean

See Also

Reference

StructuralPropertyConfiguration Class

System.Web.Http.OData.Builder Namespace