WebSiteMiscEvents Arabirim
Olayları temsil eden bir VSWebSite nesne. Bu sınıf tarafından sağlanan işlevselliği erişmek için kullanmak WebSiteMiscEventsClass.
Ad alanı: VsWebSite
Derleme: VsWebSite.Interop (VsWebSite.Interop.dll içinde)
Sözdizimi
'Bildirim
<GuidAttribute("9D9D4002-3258-4EBB-BF58-AF62C3890990")> _
Public Interface WebSiteMiscEvents _
Inherits _WebSiteMiscEvents, _dispWebSiteMiscEvents_Event
[GuidAttribute("9D9D4002-3258-4EBB-BF58-AF62C3890990")]
public interface WebSiteMiscEvents : _WebSiteMiscEvents,
_dispWebSiteMiscEvents_Event
[GuidAttribute(L"9D9D4002-3258-4EBB-BF58-AF62C3890990")]
public interface class WebSiteMiscEvents : _WebSiteMiscEvents,
_dispWebSiteMiscEvents_Event
[<GuidAttribute("9D9D4002-3258-4EBB-BF58-AF62C3890990")>]
type WebSiteMiscEvents =
interface
interface _WebSiteMiscEvents
interface _dispWebSiteMiscEvents_Event
end
public interface WebSiteMiscEvents extends _WebSiteMiscEvents, _dispWebSiteMiscEvents_Event
WebSiteMiscEvents türü aşağıdaki üyeleri ortaya koyar.
Yöntemler
Ad | Açıklama | |
---|---|---|
![]() |
add_OnAfterFolderRefresh | Altyapı. Bu yöntem .NET Framework alt yapısını destekler ve kodunuz tarafından doğrudan kullanılması için hedeflenmemiştir. (_dispWebSiteMiscEvents_Event kaynağından devralındı.) |
![]() |
add_OnBeforeFolderRefresh | Altyapı. Bu yöntem .NET Framework alt yapısını destekler ve kodunuz tarafından doğrudan kullanılması için hedeflenmemiştir. (_dispWebSiteMiscEvents_Event kaynağından devralındı.) |
![]() |
remove_OnAfterFolderRefresh | Altyapı. Bu yöntem .NET Framework alt yapısını destekler ve kodunuz tarafından doğrudan kullanılması için hedeflenmemiştir. (_dispWebSiteMiscEvents_Event kaynağından devralındı.) |
![]() |
remove_OnBeforeFolderRefresh | Altyapı. Bu yöntem .NET Framework alt yapısını destekler ve kodunuz tarafından doğrudan kullanılması için hedeflenmemiştir. (_dispWebSiteMiscEvents_Event kaynağından devralındı.) |
Üst
Olaylar
Ad | Açıklama | |
---|---|---|
![]() |
OnAfterFolderRefresh | Altyapı. Bu olay destekler.net Framework altyapısını ve doğrudan sizin kodunuzdan kullanılmak üzere tasarlanmamıştır. (_dispWebSiteMiscEvents_Event kaynağından devralındı.) |
![]() |
OnBeforeFolderRefresh | Altyapı. Bu olay destekler.net Framework altyapısını ve doğrudan sizin kodunuzdan kullanılmak üzere tasarlanmamıştır. (_dispWebSiteMiscEvents_Event kaynağından devralındı.) |
Üst
Açıklamalar
Use WebSiteMiscEvents Bu arabirime almak için özellik WebSiteMiscEventsClass nesne.
Not
Bu sınıf tarafından sağlanan işlevselliği, Visual Studio 2005 ile başlayan Visual Studio sürümlerinde kullanılabilir. Visual Web Developer Express Edition'da kullanılamaz.
Örnekler
Makro kodunu aşağıdaki örnek geçerli bir başvuru oluşturulması gösterilmiştir VSWebSite nesne geliştirme araçları Extensibility (dte) nesnesi aracılığıyla ve abone olmak için bir olay. Bu örnek için daha büyük bir kod örneği bir parçası olan VSWebSiteEvents.
' Initialize the VsWebSite and the Events
Sub InitAssemblyRefsEvents()
' Get a reference to the first Web site
' in the current solution
Dim ws As VsWebSite.VSWebSite = _
DTE.Solution.Projects.Item(1).Object
' Attach the Web site events to module events
AssemblyRefsEvents = _
ws.VSWebSiteEvents.AssemblyReferencesEvents
End Sub
' Declare the event
' The macro IDE requires the attribute
' in order to trap the events
<System.ContextStaticAttribute()> _
Public WithEvents MiscEvents As _
VsWebSite.WebSiteMiscEvents