MediaEntryAttribute で注釈が付けられているクラスのプロパティに注釈を付けます。
継承階層
System.Object
System.Attribute
System.Data.Services.Client.MimeTypePropertyAttribute
名前空間: System.Data.Services.Client
アセンブリ: Microsoft.Data.Services.Client (Microsoft.Data.Services.Client.dll)
構文
'宣言
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := True)> _
Public NotInheritable Class MimeTypePropertyAttribute _
Inherits Attribute
'使用
Dim instance As MimeTypePropertyAttribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class MimeTypePropertyAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false, Inherited = true)]
public ref class MimeTypePropertyAttribute sealed : public Attribute
[<SealedAttribute>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = true)>]
type MimeTypePropertyAttribute =
class
inherit Attribute
end
public final class MimeTypePropertyAttribute extends Attribute
MimeTypePropertyAttribute 型は、以下のメンバーを公開しています。
コンストラクター
| 名前 | 説明 | |
|---|---|---|
![]() |
MimeTypePropertyAttribute | MimeTypePropertyAttribute の新しいインスタンスを作成します。 |
先頭に戻る
プロパティ
| 名前 | 説明 | |
|---|---|---|
![]() |
DataPropertyName | MimeTypePropertyAttribute の名前を取得します。 |
![]() |
MimeTypePropertyName | MimeTypePropertyAttribute の MIME の種類を取得します。 |
![]() |
TypeId | (Attribute から継承されています。) |
先頭に戻る
メソッド
| 名前 | 説明 | |
|---|---|---|
![]() |
Equals | (Attribute から継承されています。) |
![]() |
Finalize | (Object から継承されています。) |
![]() |
GetHashCode | (Attribute から継承されています。) |
![]() |
GetType | (Object から継承されています。) |
![]() |
IsDefaultAttribute | (Attribute から継承されています。) |
![]() |
Match | (Attribute から継承されています。) |
![]() |
MemberwiseClone | (Object から継承されています。) |
![]() |
ToString | (Object から継承されています。) |
先頭に戻る
明示的なインターフェイスの実装
| 名前 | 説明 | |
|---|---|---|
![]() ![]() |
_Attribute.GetIDsOfNames | (Attribute から継承されています。) |
![]() ![]() |
_Attribute.GetTypeInfo | (Attribute から継承されています。) |
![]() ![]() |
_Attribute.GetTypeInfoCount | (Attribute から継承されています。) |
![]() ![]() |
_Attribute.Invoke | (Attribute から継承されています。) |
先頭に戻る
説明
MimeTypePropertyAttribute は、MediaEntryAttribute で指定されたプロパティに関連付けられる MIME の種類を保持するプロパティの名前を受け取ります。 指定されたプロパティは、メディア リンク エントリに関連付けられたメディア リソースが LoadProperty メソッドで遅延読み込みされるときに、データの MIME の種類に自動的に設定されます。
システムもこのプロパティから MIME の種類を読み取り、それを使用して、メディア リンク エントリの POST 要求の Content-Type ヘッダーを設定します。 メディア リンク エントリは、バイナリ データとメタデータを処理するための AtomPub プロトコル コンストラクトです。
スレッド セーフ
この型の public static (Visual Basic では Shared) のメンバーはすべて、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
.gif)
.gif)
.gif)
.gif)
.gif)