DocData.GetFormatList Method
Gets the list of supported document formats.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
'宣言
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: System.String%
The list of supported document formats.
Return Value
Type: System.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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.