ETagAttribute.PropertyNames プロパティ

定義

ETagAttribute に使用されているプロパティの名前を取得します。

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ PropertyNames { System::Collections::ObjectModel::ReadOnlyCollection<System::String ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<string> PropertyNames { get; }
member this.PropertyNames : System.Collections.ObjectModel.ReadOnlyCollection<string>
Public ReadOnly Property PropertyNames As ReadOnlyCollection(Of String)

プロパティ値

プロパティの名前を含んでいる文字列値。

注釈

ETagAttribute コンストラクターには、型の eTag 値を構築するための一連のプロパティ名がパラメーターとして渡されます。 型に eTag が定義されている場合、その型に対するすべての要求に対し、サーバーがオプティミスティック コンカレンシー チェックを自動的に実装します。 キー プロパティ、複合型プロパティ、ナビゲーション プロパティのいずれかが指定されている場合、ArgumentException がスローされます。

適用対象