共用方式為


UndoableGraphTransactionScope.IsForceAdd 方法

取得,如果交易標示為「強制將」,會建立一個復原單位,即使它是空的。

命名空間:  Microsoft.VisualStudio.GraphModel
組件:  Microsoft.VisualStudio.GraphModel (在 Microsoft.VisualStudio.GraphModel.dll 中)

語法

'宣告
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

參數

傳回值

型別:System.Boolean

.NET Framework 安全性

請參閱

參考

UndoableGraphTransactionScope 類別

Microsoft.VisualStudio.GraphModel 命名空間