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 がスローされます。

適用対象