Sdílet prostřednictvím


AntiforgeryOptions.CookieDomain Vlastnost

Definice

Upozornění

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

Tato vlastnost je zastaralá a v budoucí verzi se odebere. Doporučená alternativa je na Cookie.

Doména nastavená na soubor cookie. Ve výchozím nastavení se null atribut "domain" nenastaví.

public:
 property System::String ^ CookieDomain { System::String ^ get(); void set(System::String ^ value); };
public string CookieDomain { get; set; }
[System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.")]
public string CookieDomain { get; set; }
member this.CookieDomain : string with get, set
[<System.Obsolete("This property is obsolete and will be removed in a future version. The recommended alternative is Cookie.Domain.")>]
member this.CookieDomain : string with get, set
Public Property CookieDomain As String

Hodnota vlastnosti

Atributy

Platí pro