ListViewDeleteEventArgs.Keys Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a dictionary of field name/value pairs that represent the primary key or keys of the item to delete.
public:
property System::Collections::Specialized::IOrderedDictionary ^ Keys { System::Collections::Specialized::IOrderedDictionary ^ get(); };
public System.Collections.Specialized.IOrderedDictionary Keys { get; }
member this.Keys : System.Collections.Specialized.IOrderedDictionary
Public ReadOnly Property Keys As IOrderedDictionary
Property Value
An object that contains the name/value pairs that represent the primary key or keys of the item to delete.
Remarks
When the DataKeyNames property of a ListView control is set, use the Keys property to access the value of the primary key or keys in the item to delete.
Note
This property contains only the key fields. To access the values of the non-key fields, use the Values property.
The Keys dictionary is automatically populated with the name/value pairs of the field or fields that are specified in the DataKeyNames property. If the primary key contains multiple fields, a separate entry is added to the Keys dictionary for each key field.
To determine the name of a key field, use the DictionaryEntry.Key property of a DictionaryEntry object that is contained in the Keys dictionary. To determine the value of a key field, use the DictionaryEntry.Value property.
Applies to
See also
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기