共用方式為


ContentType 屬性

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

命名空間:  Microsoft.MasterDataServices.Services.DataContracts
組件:  Microsoft.MasterDataServices.Services (在 Microsoft.MasterDataServices.Services.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
String representing the content type.