次の方法で共有


FlavoredProject.FileAdded Event

Raised after a file 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 FileAdded As FlavoredProject..::..EventHandler(Of ProjectDocumentsChangeEventArgs)
'使用
Dim instance As FlavoredProject
Dim handler As FlavoredProject..::..EventHandler(Of ProjectDocumentsChangeEventArgs)

AddHandler instance.FileAdded, handler
public event FlavoredProject..::..EventHandler<ProjectDocumentsChangeEventArgs> FileAdded
public:
 event FlavoredProject..::..EventHandler<ProjectDocumentsChangeEventArgs^>^ FileAdded {
    void add (FlavoredProject..::..EventHandler<ProjectDocumentsChangeEventArgs^>^ value);
    void remove (FlavoredProject..::..EventHandler<ProjectDocumentsChangeEventArgs^>^ value);
}
member FileAdded : IEvent<FlavoredProject..::..EventHandler<ProjectDocumentsChangeEventArgs>,
    ProjectDocumentsChangeEventArgs>
JScript does not support events.

.NET Framework Security

See Also

Reference

FlavoredProject Class

FlavoredProject Members

Microsoft.VisualStudio.Shell.Flavor Namespace