SetCookieHeaderValue.Path Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit une valeur pour l’attribut cookie Path
.
L’attribut path spécifie les hôtes auxquels le cookie sera envoyé.
public:
property System::String ^ Path { System::String ^ get(); void set(System::String ^ value); };
public:
property Microsoft::Extensions::Primitives::StringSegment Path { Microsoft::Extensions::Primitives::StringSegment get(); void set(Microsoft::Extensions::Primitives::StringSegment value); };
public string Path { get; set; }
public Microsoft.Extensions.Primitives.StringSegment Path { get; set; }
member this.Path : string with get, set
member this.Path : Microsoft.Extensions.Primitives.StringSegment with get, set
Public Property Path As String
Public Property Path As StringSegment
Valeur de propriété
Remarques
Consultez https://tools.ietf.org/html/rfc6265#section-4.1.2.4.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour