访问,如果该事务标记为“强制添加”,将创建一个抵消单位,即使它是空。
命名空间: 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
参数
- scopeProperties
类型:System.Collections.Generic.Dictionary<Object, Object>
从问题中的事务范围开始的属性包。
返回值
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。