NotifyCollectionChangedEventArgs 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
NotifyCollectionChangedEventArgs 클래스의 새 인스턴스를 초기화합니다.
오버로드
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction)
변경 사항을 설명하는 클래스의 NotifyCollectionChangedEventArgs 새 인스턴스를 Reset 초기화합니다.
public:
NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction)
매개 변수
이벤트를 발생시킨 작업입니다. 이 값은 Reset로 설정해야 합니다.
적용 대상
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList)
다중 항목 변경을 설명하는 클래스의 NotifyCollectionChangedEventArgs 새 인스턴스를 초기화합니다.
public:
NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Collections::IList ^ changedItems);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, System.Collections.IList changedItems);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, System.Collections.IList? changedItems);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * System.Collections.IList -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, changedItems As IList)
매개 변수
- changedItems
- IList
변경의 영향을 받는 항목입니다.
적용 대상
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object)
한 항목 변경을 설명하는 클래스의 NotifyCollectionChangedEventArgs 새 인스턴스를 초기화합니다.
public:
NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Object ^ changedItem);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object changedItem);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object? changedItem);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * obj -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, changedItem As Object)
매개 변수
- changedItem
- Object
변경의 영향을 받는 항목입니다.
예외
다시 설정, 추가 또는 제거가 아닌 경우 action 또는 다시 설정이고 action null이 아닌 경우 changedItem
적용 대상
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, IList)
다중 항목 NotifyCollectionChangedEventArgs 변경을 설명하는 클래스의 Replace 새 인스턴스를 초기화합니다.
public:
NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Collections::IList ^ newItems, System::Collections::IList ^ oldItems);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, System.Collections.IList newItems, System.Collections.IList oldItems);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * System.Collections.IList * System.Collections.IList -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, newItems As IList, oldItems As IList)
매개 변수
이벤트를 발생시킨 작업입니다. 이 설정은 .로 Replace만 설정할 수 있습니다.
- newItems
- IList
원래 항목을 대체하는 새 항목입니다.
- oldItems
- IList
대체되는 원래 항목입니다.
예외
Replace가 아닌 경우 action
null이거나 oldItems null인 경우 newItems
적용 대상
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, Int32)
다중 항목 변경 또는 변경 사항을 설명하는 클래스의 NotifyCollectionChangedEventArgs 새 인스턴스를 Reset 초기화합니다.
public:
NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Collections::IList ^ changedItems, int startingIndex);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, System.Collections.IList changedItems, int startingIndex);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, System.Collections.IList? changedItems, int startingIndex);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * System.Collections.IList * int -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, changedItems As IList, startingIndex As Integer)
매개 변수
- changedItems
- IList
변경의 영향을 받는 항목입니다.
- startingIndex
- Int32
변경이 발생한 인덱스입니다.
예외
다시 설정, 추가 또는 제거가 아닌 경우 actionaction 다시 설정 중이거나 changedItems null이 아니거나 startingIndex -1이 아니거나 작업이 추가 또는 제거이고 startingIndex -1보다 작은 경우
추가 또는 제거 action 이고 null인 경우 changedItems
적용 대상
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Int32)
한 항목 변경을 설명하는 클래스의 NotifyCollectionChangedEventArgs 새 인스턴스를 초기화합니다.
public:
NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Object ^ changedItem, int index);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object changedItem, int index);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object? changedItem, int index);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * obj * int -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, changedItem As Object, index As Integer)
매개 변수
- changedItem
- Object
변경의 영향을 받는 항목입니다.
- index
- Int32
변경이 발생한 인덱스입니다.
예외
다시 설정, 추가 또는 제거가 아닌 경우 또는 다시 설정이고 action null이 아니거나 action -1이 아닌 경우 changedItemindex
적용 대상
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Object)
한 항목 NotifyCollectionChangedEventArgs 변경을 설명하는 클래스의 Replace 새 인스턴스를 초기화합니다.
public:
NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Object ^ newItem, System::Object ^ oldItem);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object newItem, object oldItem);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object? newItem, object? oldItem);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * obj * obj -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, newItem As Object, oldItem As Object)
매개 변수
이벤트를 발생시킨 작업입니다. 이 설정은 .로 Replace만 설정할 수 있습니다.
- newItem
- Object
원래 항목을 대체하는 새 항목입니다.
- oldItem
- Object
대체되는 원래 항목입니다.
예외
Replace가 아닌 경우 action
적용 대상
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, IList, Int32)
다중 항목 NotifyCollectionChangedEventArgs 변경을 설명하는 클래스의 Replace 새 인스턴스를 초기화합니다.
public:
NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Collections::IList ^ newItems, System::Collections::IList ^ oldItems, int startingIndex);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, System.Collections.IList newItems, System.Collections.IList oldItems, int startingIndex);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * System.Collections.IList * System.Collections.IList * int -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, newItems As IList, oldItems As IList, startingIndex As Integer)
매개 변수
이벤트를 발생시킨 작업입니다. 이 설정은 .로 Replace만 설정할 수 있습니다.
- newItems
- IList
원래 항목을 대체하는 새 항목입니다.
- oldItems
- IList
대체되는 원래 항목입니다.
- startingIndex
- Int32
바꿀 항목의 첫 번째 항목 인덱스입니다.
예외
Replace가 아닌 경우 action
null이거나 oldItems null인 경우 newItems
적용 대상
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, IList, Int32, Int32)
다중 항목 NotifyCollectionChangedEventArgs 변경을 설명하는 클래스의 Move 새 인스턴스를 초기화합니다.
public:
NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Collections::IList ^ changedItems, int index, int oldIndex);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, System.Collections.IList changedItems, int index, int oldIndex);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, System.Collections.IList? changedItems, int index, int oldIndex);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * System.Collections.IList * int * int -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, changedItems As IList, index As Integer, oldIndex As Integer)
매개 변수
이벤트를 발생시킨 작업입니다. 이 설정은 .로 Move만 설정할 수 있습니다.
- changedItems
- IList
변경의 영향을 받는 항목입니다.
- index
- Int32
변경된 항목의 새 인덱스입니다.
- oldIndex
- Int32
변경된 항목의 이전 인덱스입니다.
예외
이동이 아니거나 action 0보다 작은 경우 index
적용 대상
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Int32, Int32)
한 항목 NotifyCollectionChangedEventArgs 변경을 설명하는 클래스의 Move 새 인스턴스를 초기화합니다.
public:
NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Object ^ changedItem, int index, int oldIndex);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object changedItem, int index, int oldIndex);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object? changedItem, int index, int oldIndex);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * obj * int * int -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, changedItem As Object, index As Integer, oldIndex As Integer)
매개 변수
이벤트를 발생시킨 작업입니다. 이 설정은 .로 Move만 설정할 수 있습니다.
- changedItem
- Object
변경의 영향을 받는 항목입니다.
- index
- Int32
변경된 항목의 새 인덱스입니다.
- oldIndex
- Int32
변경된 항목의 이전 인덱스입니다.
예외
이동이 아니거나 action 0보다 작은 경우 index
적용 대상
NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction, Object, Object, Int32)
한 항목 NotifyCollectionChangedEventArgs 변경을 설명하는 클래스의 Replace 새 인스턴스를 초기화합니다.
public:
NotifyCollectionChangedEventArgs(System::Collections::Specialized::NotifyCollectionChangedAction action, System::Object ^ newItem, System::Object ^ oldItem, int index);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object newItem, object oldItem, int index);
public NotifyCollectionChangedEventArgs(System.Collections.Specialized.NotifyCollectionChangedAction action, object? newItem, object? oldItem, int index);
new System.Collections.Specialized.NotifyCollectionChangedEventArgs : System.Collections.Specialized.NotifyCollectionChangedAction * obj * obj * int -> System.Collections.Specialized.NotifyCollectionChangedEventArgs
Public Sub New (action As NotifyCollectionChangedAction, newItem As Object, oldItem As Object, index As Integer)
매개 변수
이벤트를 발생시킨 작업입니다. 이 설정은 .로 Replace설정할 수 있습니다.
- newItem
- Object
원래 항목을 대체하는 새 항목입니다.
- oldItem
- Object
대체되는 원래 항목입니다.
- index
- Int32
바꿀 항목의 인덱스입니다.
예외
Replace가 아닌 경우 action