WebSiteMiscEventsClass Sınıf
Çeşitli olaylar için temsil eden bir VSWebSite.Use WebSiteMiscEvents nesne elde WebSiteMiscEvents özelliği, bu sınıfın işlevselliğine erişmelerine izin.Bu sınıftan örneğini değil.
Devralma Hiyerarşisi
Object
VsWebSite.WebSiteMiscEventsClass
Ad alanı: VsWebSite
Derleme: VsWebSite.Interop (VsWebSite.Interop.dll içinde)
Sözdizimi
'Bildirim
<ClassInterfaceAttribute()> _
<GuidAttribute("BC6984AB-D661-4B5E-A0CB-6DFD5FE2DDF4")> _
Public Class WebSiteMiscEventsClass _
Implements _WebSiteMiscEvents, WebSiteMiscEvents, _dispWebSiteMiscEvents_Event
[ClassInterfaceAttribute()]
[GuidAttribute("BC6984AB-D661-4B5E-A0CB-6DFD5FE2DDF4")]
public class WebSiteMiscEventsClass : _WebSiteMiscEvents,
WebSiteMiscEvents, _dispWebSiteMiscEvents_Event
[ClassInterfaceAttribute()]
[GuidAttribute(L"BC6984AB-D661-4B5E-A0CB-6DFD5FE2DDF4")]
public ref class WebSiteMiscEventsClass : _WebSiteMiscEvents,
WebSiteMiscEvents, _dispWebSiteMiscEvents_Event
[<ClassInterfaceAttribute()>]
[<GuidAttribute("BC6984AB-D661-4B5E-A0CB-6DFD5FE2DDF4")>]
type WebSiteMiscEventsClass =
class
interface _WebSiteMiscEvents
interface WebSiteMiscEvents
interface _dispWebSiteMiscEvents_Event
end
public class WebSiteMiscEventsClass implements _WebSiteMiscEvents, WebSiteMiscEvents, _dispWebSiteMiscEvents_Event
WebSiteMiscEventsClass türü aşağıdaki üyeleri ortaya koyar.
Oluşturucular
Ad | Açıklama | |
---|---|---|
![]() |
WebSiteMiscEventsClass | Altyapı. Yalnızca dahili kullanım için.Bu sınıf tarafından sağlanan işlevlere erişir WebSiteMiscEvents.Bu sınıftan örneğini değil. |
Üst
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. |
![]() |
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. |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Object kaynağından devralındı.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Object kaynağından devralındı.) |
![]() |
GetHashCode | Serves as the default hash function. (Object kaynağından devralındı.) |
![]() |
GetType | Gets the Type of the current instance. (Object kaynağından devralındı.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Object 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. |
![]() |
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. |
![]() |
ToString | Returns a string that represents the current object. (Object kaynağından devralındı.) |
Üst
Olaylar
Ad | Açıklama | |
---|---|---|
![]() |
OnAfterFolderRefresh | Bir klasördeki Web sitesi yenilendi sonra oluşur. |
![]() |
OnBeforeFolderRefresh | Web sitenizdeki bir klasöre yenilenmeden önce oluşur. |
Üst
Notlar
Bu sınıf üzerinden erişilen WebSiteMiscEvents karşı alınan arabirim WebSiteMiscEvents özelliği.
[!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 nesnesi üzerinden Development Tools Extensibility (DTE2) nesne ve nasıl bir olaya abone olun.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
İş Parçacığı Güvenliği
Bu türün tüm genel statik (Visual Basic'te Shared) üyeleri iş parçacığı açısından güvenlidir. Hiçbir örnek üyesinin iş parçacığı açısından güvenliği garanti edilemez.