Share via


VsUndoPackageClass.OpenLinkedUndo Method

Opens a linked undo transaction parent unit.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Déclaration
Public Overridable Function OpenLinkedUndo ( _
    dwFlags As UInteger, _
    pszDescription As String _
) As Integer
'Utilisation
Dim instance As VsUndoPackageClass
Dim dwFlags As UInteger
Dim pszDescription As String
Dim returnValue As Integer

returnValue = instance.OpenLinkedUndo(dwFlags, _
    pszDescription)
public virtual int OpenLinkedUndo(
    uint dwFlags,
    string pszDescription
)
public:
virtual int OpenLinkedUndo(
    [InAttribute] unsigned int dwFlags, 
    [InAttribute] String^ pszDescription
)
abstract OpenLinkedUndo : 
        dwFlags:uint32 * 
        pszDescription:string -> int 
override OpenLinkedUndo : 
        dwFlags:uint32 * 
        pszDescription:string -> int 
public function OpenLinkedUndo(
    dwFlags : uint, 
    pszDescription : String
) : int

Parameters

  • dwFlags
    Type: System.UInt32
    [in] Value taken from the LinkedTransactionFlags enumeration. mdtDefault specifies the transaction to be nonstrict, which is default behavior. The other possible enum value is mdtStrict that specifies the undo linking behavior as strict.
  • pszDescription
    Type: System.String
    [in] Localized string that describes this action; appears in the undo/redo dropdown menus. This value may not be nulla null reference (Nothing in Visual Basic).

Return Value

Type: System.Int32

Implements

IVsLinkedUndoTransactionManager.OpenLinkedUndo(UInt32, String)

.NET Framework Security

See Also

Reference

VsUndoPackageClass Class

VsUndoPackageClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace