WebReferencesEvents Arabirim
Olayları temsil WebReferences özelliği, bir VSWebSite.Bu nesne tarafından sağlanan işlevselliği erişmek için kullanmak WebReferencesEventsClass.
Ad alanı: VsWebSite
Derleme: VsWebSite.Interop (VsWebSite.Interop.dll içinde)
Sözdizimi
'Bildirim
<GuidAttribute("63FE9F71-D793-435E-9F80-FD4082CA1444")> _
Public Interface WebReferencesEvents _
Inherits _WebReferencesEvents, _dispWebReferencesEvents_Event
[GuidAttribute("63FE9F71-D793-435E-9F80-FD4082CA1444")]
public interface WebReferencesEvents : _WebReferencesEvents,
_dispWebReferencesEvents_Event
[GuidAttribute(L"63FE9F71-D793-435E-9F80-FD4082CA1444")]
public interface class WebReferencesEvents : _WebReferencesEvents,
_dispWebReferencesEvents_Event
[<GuidAttribute("63FE9F71-D793-435E-9F80-FD4082CA1444")>]
type WebReferencesEvents =
interface
interface _WebReferencesEvents
interface _dispWebReferencesEvents_Event
end
public interface WebReferencesEvents extends _WebReferencesEvents, _dispWebReferencesEvents_Event
WebReferencesEvents türü aşağıdaki üyeleri ortaya koyar.
Yöntemler
Ad | Açıklama | |
---|---|---|
![]() |
add_WebReferenceAdded | Altyapı. Bu yöntem .NET Framework alt yapısını destekler ve kodunuz tarafından doğrudan kullanılması için hedeflenmemiştir. (_dispWebReferencesEvents_Event kaynağından devralındı.) |
![]() |
add_WebReferenceChanged | Altyapı. Bu yöntem .NET Framework alt yapısını destekler ve kodunuz tarafından doğrudan kullanılması için hedeflenmemiştir. (_dispWebReferencesEvents_Event kaynağından devralındı.) |
![]() |
add_WebReferenceRemoved | Altyapı. Bu yöntem .NET Framework alt yapısını destekler ve kodunuz tarafından doğrudan kullanılması için hedeflenmemiştir. (_dispWebReferencesEvents_Event kaynağından devralındı.) |
![]() |
remove_WebReferenceAdded | Altyapı. Bu yöntem .NET Framework alt yapısını destekler ve kodunuz tarafından doğrudan kullanılması için hedeflenmemiştir. (_dispWebReferencesEvents_Event kaynağından devralındı.) |
![]() |
remove_WebReferenceChanged | Altyapı. Bu yöntem .NET Framework alt yapısını destekler ve kodunuz tarafından doğrudan kullanılması için hedeflenmemiştir. (_dispWebReferencesEvents_Event kaynağından devralındı.) |
![]() |
remove_WebReferenceRemoved | Altyapı. Bu yöntem .NET Framework alt yapısını destekler ve kodunuz tarafından doğrudan kullanılması için hedeflenmemiştir. (_dispWebReferencesEvents_Event kaynağından devralındı.) |
Üst
Olaylar
Ad | Açıklama | |
---|---|---|
![]() |
WebReferenceAdded | Altyapı. Bu olay destekler.NET Framework altyapısını DESTEKLER ve doğrudan sizin kodunuzdan kullanılmak üzere tasarlanmamıştır. (_dispWebReferencesEvents_Event kaynağından devralındı.) |
![]() |
WebReferenceChanged | Altyapı. Bu olay destekler.NET Framework altyapısını DESTEKLER ve doğrudan sizin kodunuzdan kullanılmak üzere tasarlanmamıştır. (_dispWebReferencesEvents_Event kaynağından devralındı.) |
![]() |
WebReferenceRemoved | Altyapı. Bu olay destekler.NET Framework altyapısını DESTEKLER ve doğrudan sizin kodunuzdan kullanılmak üzere tasarlanmamıştır. (_dispWebReferencesEvents_Event kaynağından devralındı.) |
Üst
Notlar
Bu arabirime WebReferencesEventsClass den alınan WebReferencesEvents ö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 geliştirme araçları Extensibility (dte) nesne ve nasıl bir Web başvurusu olayına abone.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 WebRefsEvents As _
VsWebSite.WebReferencesEvents