Compartir a través de


SVsStructuredFileIO Interface

Definition

Passed to GetService(Type) to return a reference to IVsStructuredFileIO.

public interface class SVsStructuredFileIO
public interface class SVsStructuredFileIO
__interface SVsStructuredFileIO
[System.Runtime.InteropServices.ComVisible(false)]
[System.Runtime.InteropServices.Guid("12B43F9F-8550-4FFA-850F-FE9D4D396C20")]
public interface SVsStructuredFileIO
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Runtime.InteropServices.Guid("12B43F9F-8550-4FFA-850F-FE9D4D396C20")>]
type SVsStructuredFileIO = interface
Public Interface SVsStructuredFileIO
Attributes

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.

Applies to