ISelectionService.SelectionChanged イベント
アセンブリ: System (system.dll 内)

Event SelectionChanged As EventHandler
Dim instance As ISelectionService Dim handler As EventHandler AddHandler instance.SelectionChanged, handler
event EventHandler SelectionChanged
event EventHandler^ SelectionChanged { void add (EventHandler^ value); void remove (EventHandler^ value); }
/** @event */ void add_SelectionChanged (EventHandler value) /** @event */ void remove_SelectionChanged (EventHandler value)


SelectionChanged イベントを使用する方法を次の例に示します。
' Add SelectionChanged event handler to event AddHandler m_selectionService.SelectionChanged, AddressOf OnSelectionChanged <br /><span space="preserve">...</span><br /> ' This is the OnSelectionChanged handler method. This method calls ' OnUserChange to display a message that indicates the name of the ' handler that made the call and the type of the event argument. Private Sub OnSelectionChanged(ByVal sender As Object, ByVal args As EventArgs) OnUserChange("OnSelectionChanged", args.ToString()) End Sub 'OnSelectionChanged
// Add SelectionChanged event handler to event m_selectionService.SelectionChanged += new EventHandler(OnSelectionChanged); <br /><span space="preserve">...</span><br /> /* This is the OnSelectionChanged handler method. This method calls OnUserChange to display a message that indicates the name of the handler that made the call and the type of the event argument. */ private void OnSelectionChanged(object sender, EventArgs args) { OnUserChange("OnSelectionChanged", args.ToString()); }
// Add SelectionChanged event handler to event m_selectionService->SelectionChanged += gcnew EventHandler( this, &ComponentClass::OnSelectionChanged ); <br /><span space="preserve">...</span><br /> /* This is the OnSelectionChanged handler method. This method calls OnUserChange to display a message that indicates the name of the handler that made the call and the type of the event argument. */ void OnSelectionChanged( Object^ /*sender*/, EventArgs^ args ) { OnUserChange( "OnSelectionChanged", args->ToString() ); }
// Add SelectionChanged event handler to event mSelectionService.add_SelectionChanged( new EventHandler(OnSelectionChanged)); <br /><span space="preserve">...</span><br /> /* This is the OnSelectionChanged handler method. This method calls OnUserChange to display a message that indicates the name of the handler that made the call and the type of the event argument. */ private void OnSelectionChanged(Object sender, EventArgs args) { OnUserChange("OnSelectionChanged", args.ToString()); } //OnSelectionChanged

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


ISelectionService インターフェイス
ISelectionService メンバ
System.ComponentModel.Design 名前空間
SelectionChanging
EventHandler
Weblioに収録されているすべての辞書からISelectionService.SelectionChanged イベントを検索する場合は、下記のリンクをクリックしてください。

- ISelectionService.SelectionChanged イベントのページへのリンク