Share via


FileAttribute.ContentType Property

Definition

Gets or sets the content type of the file that is or will be stored.

public:
 property System::String ^ ContentType { System::String ^ get(); void set(System::String ^ value); };
[System.Runtime.Serialization.DataMember]
public string ContentType { get; set; }
[<System.Runtime.Serialization.DataMember>]
member this.ContentType : string with get, set
Public Property ContentType As String

Property Value

A string that represents the content type.

Attributes

Applies to