ZipArchive.Comment Propriété
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 le commentaire d’archive facultatif.
public:
property System::String ^ Comment { System::String ^ get(); void set(System::String ^ value); };
public string Comment { get; set; }
member this.Comment : string with get, set
Public Property Comment As String
L’encodage des commentaires est déterminé par le entryNameEncoding
paramètre du ZipArchive(Stream, ZipArchiveMode, Boolean, Encoding) constructeur.
Si la longueur d’octet du commentaire est supérieure à MaxValue, elle sera tronquée lors de la suppression de l’archive.
Produit | Versions |
---|---|
.NET | 7, 8, 9 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires: