Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in microsoft.visualstudio.textmanager.interop.8.0.dll)
[InterfaceTypeAttribute(1)] [GuidAttribute("171A72AE-BAE6-4B66-9A58-4691F08ED9F2")] public interface IVsContainedCode
/** @attribute InterfaceTypeAttribute(1) */ /** @attribute GuidAttribute("171A72AE-BAE6-4B66-9A58-4691F08ED9F2") */ public interface IVsContainedCode
Code blocks that are embedded or contained in another document are typically put into a separate buffer to be passed to a language service for display and parsing. However, the code blocks must be displayed to the user in the original document. This requires the capability of mapping between the original buffer that contains the document with the embedded code block and the separate buffer that contains just the code block. This interface is represents the code blocks in the original document.Notes to Implementers This interface is typically implemented on the same object that implements the interface. Notes to Callers Obtain this interface by calling the QueryInterface method on an IVsContainedLanguage object or by casting the IVsContainedLanguage object to the IVsContainedCode interface.