RouteConstraintBuilder.SetOptional(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the given key as optional.
public:
void SetOptional(System::String ^ key);
public void SetOptional (string key);
member this.SetOptional : string -> unit
Public Sub SetOptional (key As String)
Parameters
- key
- String
The key.