Share via


DocData.GetFormatList Method

Gets the list of supported document formats.

Namespace:  Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

Syntax

'Declaration
Public Function GetFormatList ( _
    <OutAttribute> ByRef formatList As String _
) As Integer
public int GetFormatList(
    out string formatList
)
public:
virtual int GetFormatList(
    [OutAttribute] String^% formatList
) sealed
abstract GetFormatList : 
        formatList:string byref -> int  
override GetFormatList : 
        formatList:string byref -> int
public final function GetFormatList(
    formatList : String
) : int

Parameters

  • formatList
    Type: String%

    The list of supported document formats.

Return Value

Type: Int32
S_OK if the method succeeds; otherwise, it returns an error code.

Implements

IPersistFileFormat.GetFormatList(String%)

Remarks

Supported document formats appear in the Save As dialog box.

This method implements the IPersistFileFormat interface.

.NET Framework Security

See Also

Reference

DocData Class

Microsoft.VisualStudio.Modeling.Shell Namespace