ETagAttribute.PropertyNames 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得 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 則會擲回 。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應