次の方法で共有


IVsContainedLanguageHost Interface

Represents a host for contained languages.

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

Syntax

'宣言
<InterfaceTypeAttribute()> _
<GuidAttribute("0429916F-69E1-4336-AB7E-72086FB0D6BC")> _
Public Interface IVsContainedLanguageHost
'使用
Dim instance As IVsContainedLanguageHost
[InterfaceTypeAttribute()]
[GuidAttribute("0429916F-69E1-4336-AB7E-72086FB0D6BC")]
public interface IVsContainedLanguageHost
[InterfaceTypeAttribute()]
[GuidAttribute(L"0429916F-69E1-4336-AB7E-72086FB0D6BC")]
public interface class IVsContainedLanguageHost
[<InterfaceTypeAttribute()>]
[<GuidAttribute("0429916F-69E1-4336-AB7E-72086FB0D6BC")>]
type IVsContainedLanguageHost =  interface end
public interface IVsContainedLanguageHost

Remarks

This interface is implemented by editors that support contained languages, that is, code blocks that can be embedded in a larger document. For example, an HTML document can contain script elements from different languages such as Visual Basic or JScript.

Notes to Implementers

This interface is implemented by an editor to coordinate with an IVsContainedLanguage object.

Notes to Callers

This interface is passed by the editor to the SetHost method in the IVsContainedLanguage object that is returned from the IVsContainedLanguageFactory object.

See Also

Reference

IVsContainedLanguageHost Members

Microsoft.VisualStudio.TextManager.Interop Namespace