次の方法で共有


IDatabaseProjectNode.NodeAttributesChanged イベント

ノードの属性が変更されたときに発生します。

名前空間:  Microsoft.VisualStudio.Data.Schema.Package.Project
アセンブリ:  Microsoft.VisualStudio.Data.Schema.Package (Microsoft.VisualStudio.Data.Schema.Package.dll 内)

構文

'宣言
Event NodeAttributesChanged As EventHandler(Of NodeAttributesChangedEventArgs)
event EventHandler<NodeAttributesChangedEventArgs> NodeAttributesChanged
 event EventHandler<NodeAttributesChangedEventArgs^>^ NodeAttributesChanged {
    void add (EventHandler<NodeAttributesChangedEventArgs^>^ value);
    void remove (EventHandler<NodeAttributesChangedEventArgs^>^ value);
}
abstract NodeAttributesChanged : IEvent<EventHandler<NodeAttributesChangedEventArgs>,
    NodeAttributesChangedEventArgs>
JScript では、イベントは使用できません。

解説

ノードの属性はプロジェクト ファイル内で、ノードの下のサブ要素として永続化されます。 SetItemAttribute を使用してこれらを設定できます。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

IDatabaseProjectNode インターフェイス

Microsoft.VisualStudio.Data.Schema.Package.Project 名前空間