ProjectNode.GetFormatList Method

Gets the text format.

Namespace:  Microsoft.VisualStudio.Package
Assembly:  MPF.Project.NonShipping (in MPF.Project.NonShipping.dll)

Syntax

'宣言
Public Overridable Function GetFormatList ( _
    <OutAttribute> ByRef formatlist As String _
) As Integer
'使用
Dim instance As ProjectNode
Dim formatlist As String
Dim returnValue As Integer

returnValue = instance.GetFormatList(formatlist)
public virtual int GetFormatList(
    out string formatlist
)
public:
virtual int GetFormatList(
    [OutAttribute] String^% formatlist
)
public function GetFormatList(
    formatlist : String
) : int

Parameters

  • formatlist
    Type: System.String%

    A string that contains pairs of format filter strings

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IPersistFileFormat.GetFormatList(String%)

Remarks

This method sets the formatlist to XML.

Permissions

See Also

Reference

ProjectNode Class

ProjectNode Members

Microsoft.VisualStudio.Package Namespace