'宣言 Public Function New( _ ByVal keyPropertyName As String, _ Optional ByVal getKeyMethod As Func(Of TItem,TKey), _ Optional ByVal disallowedKeys As IEnumerable(Of TKey), _ Optional ByVal comparer As IEqualityComparer(Of TKey) _ )
public KeyedObservableCollection<TItem,TKey>( string keyPropertyName, Func<TItem,TKey> getKeyMethod, IEnumerable<TKey> disallowedKeys, IEqualityComparer<TKey> comparer )