AssemblyReferencesEvents Arabirim
Olayları temsil References özelliği, bir VSWebSite nesne.Bu sınıf tarafından sağlanan işlevselliği erişmek için kullanmak AssemblyReferencesEventsClass.
Ad alanı: VsWebSite
Derleme: VsWebSite.Interop (VsWebSite.Interop.dll içinde)
Sözdizimi
'Bildirim
<GuidAttribute("E5E56972-0CFE-49B7-9EFB-923613FDA978")> _
Public Interface AssemblyReferencesEvents _
Inherits _AssemblyReferencesEvents, _dispAssemblyReferencesEvents_Event
[GuidAttribute("E5E56972-0CFE-49B7-9EFB-923613FDA978")]
public interface AssemblyReferencesEvents : _AssemblyReferencesEvents,
_dispAssemblyReferencesEvents_Event
[GuidAttribute(L"E5E56972-0CFE-49B7-9EFB-923613FDA978")]
public interface class AssemblyReferencesEvents : _AssemblyReferencesEvents,
_dispAssemblyReferencesEvents_Event
[<GuidAttribute("E5E56972-0CFE-49B7-9EFB-923613FDA978")>]
type AssemblyReferencesEvents =
interface
interface _AssemblyReferencesEvents
interface _dispAssemblyReferencesEvents_Event
end
public interface AssemblyReferencesEvents extends _AssemblyReferencesEvents, _dispAssemblyReferencesEvents_Event
AssemblyReferencesEvents türü aşağıdaki üyeleri ortaya koyar.
Yöntemler
Ad | Açıklama | |
---|---|---|
![]() |
add_AssemblyReferenceAdded | Altyapı. Bu yöntem .NET Framework alt yapısını destekler ve kodunuz tarafından doğrudan kullanılması için hedeflenmemiştir. (_dispAssemblyReferencesEvents_Event kaynağından devralındı.) |
![]() |
add_AssemblyReferenceRemoved | Altyapı. Bu yöntem .NET Framework alt yapısını destekler ve kodunuz tarafından doğrudan kullanılması için hedeflenmemiştir. (_dispAssemblyReferencesEvents_Event kaynağından devralındı.) |
![]() |
remove_AssemblyReferenceAdded | Altyapı. Bu yöntem .NET Framework alt yapısını destekler ve kodunuz tarafından doğrudan kullanılması için hedeflenmemiştir. (_dispAssemblyReferencesEvents_Event kaynağından devralındı.) |
![]() |
remove_AssemblyReferenceRemoved | Altyapı. Bu yöntem .NET Framework alt yapısını destekler ve kodunuz tarafından doğrudan kullanılması için hedeflenmemiştir. (_dispAssemblyReferencesEvents_Event kaynağından devralındı.) |
Üst
Olaylar
Ad | Açıklama | |
---|---|---|
![]() |
AssemblyReferenceAdded | Altyapı. Bu olay destekler.NET Framework altyapısını DESTEKLER ve doğrudan sizin kodunuzdan kullanılmak üzere tasarlanmamıştır. (_dispAssemblyReferencesEvents_Event kaynağından devralındı.) |
![]() |
AssemblyReferenceRemoved | Altyapı. Bu olay destekler.NET Framework altyapısını DESTEKLER ve doğrudan sizin kodunuzdan kullanılmak üzere tasarlanmamıştır. (_dispAssemblyReferencesEvents_Event kaynağından devralındı.) |
Üst
Notlar
Use AssemblyReferencesEvents özelliği, bu arabirime almak için AssemblyReferencesEventsClass 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 aracılığıyla tasarım ortamı (dte) ve 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 AssemblyRefsEvents As _
VsWebSite.AssemblyReferencesEvents