Partager via


Propriété FileAttribute.ContentType

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

Espace de noms :  Microsoft.MasterDataServices
Assembly :  Microsoft.MasterDataServices (en Microsoft.MasterDataServices.dll)

Syntaxe

'Déclaration
<DataMemberAttribute> _
Public Property ContentType As String
    Get
    Set
'Utilisation
Dim instance As FileAttribute
Dim value As String

value = instance.ContentType

instance.ContentType = value
[DataMemberAttribute]
public string ContentType { get; set; }
[DataMemberAttribute]
public:
property String^ ContentType {
    String^ get ();
    void set (String^ value);
}
[<DataMemberAttribute>]
member ContentType : string with get, set
function get ContentType () : String
function set ContentType (value : String)

Valeur de propriété

Type : System.String
A string that represents the content type.

Voir aussi

Référence

FileAttribute Classe

Espace de noms Microsoft.MasterDataServices