IVsDataViewUserContextProvider.UserContextChanged 事件
當使用者在內容變更時,就會發生。
命名空間: Microsoft.VisualStudio.Data.Services.SupportEntities
組件: Microsoft.VisualStudio.Data.Services (在 Microsoft.VisualStudio.Data.Services.dll 中)
語法
'宣告
Event UserContextChanged As EventHandler(Of DataViewNodeEventArgs)
event EventHandler<DataViewNodeEventArgs> UserContextChanged
event EventHandler<DataViewNodeEventArgs^>^ UserContextChanged {
void add (EventHandler<DataViewNodeEventArgs^>^ value);
void remove (EventHandler<DataViewNodeEventArgs^>^ value);
}
abstract UserContextChanged : IEvent<EventHandler<DataViewNodeEventArgs>,
DataViewNodeEventArgs>
JScript 不支援事件。
備註
使用使用者內容,如果使用者啟動內容說明,因此,說明主題可以更適合使用者的動作。
例如,在中,當使用者在伺服器總管中選取,的其他節點使用者內容變更。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。