FlavoredProject.DirectoryAdded Event
Raised after a directory has been added to the project.
Namespace: Microsoft.VisualStudio.Shell.Flavor
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'宣言
Public Event DirectoryAdded As FlavoredProject..::..EventHandler(Of ProjectDocumentsChangeEventArgs)
'使用
Dim instance As FlavoredProject
Dim handler As FlavoredProject..::..EventHandler(Of ProjectDocumentsChangeEventArgs)
AddHandler instance.DirectoryAdded, handler
public event FlavoredProject..::..EventHandler<ProjectDocumentsChangeEventArgs> DirectoryAdded
public:
event FlavoredProject..::..EventHandler<ProjectDocumentsChangeEventArgs^>^ DirectoryAdded {
void add (FlavoredProject..::..EventHandler<ProjectDocumentsChangeEventArgs^>^ value);
void remove (FlavoredProject..::..EventHandler<ProjectDocumentsChangeEventArgs^>^ value);
}
member DirectoryAdded : IEvent<FlavoredProject..::..EventHandler<ProjectDocumentsChangeEventArgs>,
ProjectDocumentsChangeEventArgs>
JScript does not support events.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.