SVsStructuredFileIO Interface
Passed to GetService to return a reference to IVsStructuredFileIO.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Déclaration
<GuidAttribute("12B43F9F-8550-4FFA-850F-FE9D4D396C20")> _
<GuidAttribute("12B43F9F-8550-4FFA-850F-FE9D4D396C20")> _
Public Interface SVsStructuredFileIO
'Utilisation
Dim instance As SVsStructuredFileIO
[GuidAttribute("12B43F9F-8550-4FFA-850F-FE9D4D396C20")]
[GuidAttribute("12B43F9F-8550-4FFA-850F-FE9D4D396C20")]
public interface SVsStructuredFileIO
[GuidAttribute(L"12B43F9F-8550-4FFA-850F-FE9D4D396C20")]
[GuidAttribute(L"12B43F9F-8550-4FFA-850F-FE9D4D396C20")]
public interface class SVsStructuredFileIO
public interface SVsStructuredFileIO
Remarks
The IVsStructuredFileIO interface is designed to provide a common way to perform multi-format saves, and includes some rudimentary support for working with IPersistFileFormat. The IPersistFileFormat support, including support for the GetFormatList method, is oriented toward a single semantic file type that can be saved in any of a number of on-disk forms such as UTF-8, Unicode, or MBCS.
The IVsStructuredFileIOHelper interface works with IVsStructuredFileIO and is provided to load tokens found in persisted files that are to be loaded with localized strings. For example, the IVsStructuredFileIO implementation looks for property values of the form "nnnn" (where "nnnn" is a series of decimal digits) and will request string ID nnnn to be loaded via LoadLocalizedString.
For more information on implementing this interface, see the Basic Project, Figures Project, and My C Package samples.