Freigeben über


FileAttribute.ContentType-Eigenschaft

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

Namespace:  Microsoft.MasterDataServices.Services.DataContracts
Assembly:  Microsoft.MasterDataServices.Services.Contracts (in Microsoft.MasterDataServices.Services.Contracts.dll)

Syntax

'Declaration
<DataMemberAttribute> _
Public Property ContentType As String 
    Get 
    Set
'Usage
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)

Eigenschaftswert

Typ: System.String
The content type of the file.

Siehe auch

Verweis

FileAttribute Klasse

Microsoft.MasterDataServices.Services.DataContracts-Namespace