AntiforgeryOptions.CookiePath プロパティ

定義

注意事項

This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.

このプロパティは互換性のために残されていますが、今後のバージョンでは削除される予定です。 推奨される代替手段は、 にあります Cookie

Cookie に設定されたパス。 に null設定すると、Cookie の "path" 属性は現在の要求の PathBase 値に設定されます。 の値が null または空のPathBase場合、"path" 属性は のPath値に設定されます。

public:
 property Nullable<Microsoft::AspNetCore::Http::PathString> CookiePath { Nullable<Microsoft::AspNetCore::Http::PathString> get(); void set(Nullable<Microsoft::AspNetCore::Http::PathString> value); };
public Microsoft.AspNetCore.Http.PathString? CookiePath { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.")]
public Microsoft.AspNetCore.Http.PathString? CookiePath { get; set; }
member this.CookiePath : Nullable<Microsoft.AspNetCore.Http.PathString> with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Path.")>]
member this.CookiePath : Nullable<Microsoft.AspNetCore.Http.PathString> with get, set
Public Property CookiePath As Nullable(Of PathString)

プロパティ値

属性

適用対象