Share via


UndoableGraphTransactionScope.IsForceAdd Method

Get if the transaction is marked as "force add", which will create an undo unit even if it is empty.

Namespace:  Microsoft.VisualStudio.GraphModel
Assembly:  Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)

Syntax

'Declaration
Public Shared Function IsForceAdd ( _
    scopeProperties As Dictionary(Of Object, Object) _
) As Boolean
public static bool IsForceAdd(
    Dictionary<Object, Object> scopeProperties
)
public:
static bool IsForceAdd(
    Dictionary<Object^, Object^>^ scopeProperties
)
static member IsForceAdd : 
        scopeProperties:Dictionary<Object, Object> -> bool
public static function IsForceAdd(
    scopeProperties : Dictionary<Object, Object>
) : boolean

Parameters

  • scopeProperties
    Type: Dictionary<Object, Object>

    The property bag from the transaction scope in question.

Return Value

Type: Boolean

.NET Framework Security

See Also

Reference

UndoableGraphTransactionScope Class

Microsoft.VisualStudio.GraphModel Namespace