RoutePattern.Defaults 属性

定义

获取路由模式的默认值集。 的 Defaults 键是路由参数名称。

public:
 property System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Object ^> ^ Defaults { System::Collections::Generic::IReadOnlyDictionary<System::String ^, System::Object ^> ^ get(); };
public System.Collections.Generic.IReadOnlyDictionary<string,object> Defaults { get; }
public System.Collections.Generic.IReadOnlyDictionary<string,object?> Defaults { get; }
member this.Defaults : System.Collections.Generic.IReadOnlyDictionary<string, obj>
Public ReadOnly Property Defaults As IReadOnlyDictionary(Of String, Object)

属性值

适用于