Share via


FileAttribute.ContentType Property

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

Namespace:  Microsoft.MasterDataServices
Assembly:  Microsoft.MasterDataServices (in Microsoft.MasterDataServices.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)

Property Value

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

See Also

Reference

FileAttribute Class

Microsoft.MasterDataServices Namespace