FileAttribute.ContentType 属性

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

命名空间:  Microsoft.MasterDataServices.Services.DataContracts
程序集:  Microsoft.MasterDataServices.Services.Contracts(在 Microsoft.MasterDataServices.Services.Contracts.dll 中)

语法

声明
<DataMemberAttribute> _
Public Property ContentType As String 
    Get 
    Set
用法
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)

属性值

类型:System.String
The content type of the file.

请参阅

参考

FileAttribute 类

Microsoft.MasterDataServices.Services.DataContracts 命名空间