在解决方案资源管理器需要新文件扩展名的图标时引发。
命名空间: Microsoft.VisualStudio.Data.Schema.Package.Project
程序集: Microsoft.VisualStudio.Data.Schema.Package(在 Microsoft.VisualStudio.Data.Schema.Package.dll 中)
语法
声明
Event FileIconRequest As EventHandler(Of FileIconRequestEventArgs)
event EventHandler<FileIconRequestEventArgs> FileIconRequest
event EventHandler<FileIconRequestEventArgs^>^ FileIconRequest {
void add (EventHandler<FileIconRequestEventArgs^>^ value);
void remove (EventHandler<FileIconRequestEventArgs^>^ value);
}
abstract FileIconRequest : IEvent<EventHandler<FileIconRequestEventArgs>,
FileIconRequestEventArgs>
JScript 不支持事件。
备注
检索图标一次,并缓存以备以后使用。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。