共用方式為


IVsContainedLanguageStaticEventBinding Interface

Provides support for static event generation.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
<GuidAttribute("22FF7776-2C9A-48C4-809F-39E5184CC32D")> _
<InterfaceTypeAttribute()> _
Public Interface IVsContainedLanguageStaticEventBinding
'用途
Dim instance As IVsContainedLanguageStaticEventBinding
[GuidAttribute("22FF7776-2C9A-48C4-809F-39E5184CC32D")]
[InterfaceTypeAttribute()]
public interface IVsContainedLanguageStaticEventBinding
[GuidAttribute(L"22FF7776-2C9A-48C4-809F-39E5184CC32D")]
[InterfaceTypeAttribute()]
public interface class IVsContainedLanguageStaticEventBinding
[<GuidAttribute("22FF7776-2C9A-48C4-809F-39E5184CC32D")>]
[<InterfaceTypeAttribute()>]
type IVsContainedLanguageStaticEventBinding =  interface end
public interface IVsContainedLanguageStaticEventBinding

Remarks

Static event binding means an event handler that is not part of an instantiated class and is available all the time across files in the project.

Notes to Implementers

Implement this interface in your contained language to support static event binding.

Notes to Callers

This interface can be obtained by calling the QueryInterface method on an IVsContainedLanguage object or by casting the IVsContainedLanguage object to the IVsContainedLanguageStaticEventBinding interface.

See Also

Reference

IVsContainedLanguageStaticEventBinding Members

Microsoft.VisualStudio.TextManager.Interop Namespace