次の方法で共有


FileAttribute.ContentType プロパティ

格納されるファイルのコンテンツの種類を取得または設定します。

名前空間:  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
ファイルのコンテンツの種類。

関連項目

参照

FileAttribute クラス

Microsoft.MasterDataServices.Services.DataContracts 名前空間