ClearDictionary<TKey, TValue> 类

 

用于清除字典的活动。

命名空间:   Microsoft.Activities
程序集:  Microsoft.Activities(Microsoft.Activities.dll 中)

继承层次结构

System.Object
  System.Activities.Activity
    System.Activities.CodeActivity
      Microsoft.Activities.ClearDictionary<TKey, TValue>

语法

public sealed class ClearDictionary<TKey, TValue> : CodeActivity
generic<typename TKey, typename TValue>
public ref class ClearDictionary sealed : CodeActivity
[<Sealed>]
type ClearDictionary<'TKey, 'TValue> = 
    class
        inherit CodeActivity
    end
Public NotInheritable Class ClearDictionary(Of TKey, TValue)
    Inherits CodeActivity

类型参数

  • TKey
    键的类型。
  • TValue
    值的类型。

构造函数

名称 说明
System_CAPS_pubmethod ClearDictionary<TKey, TValue>()

初始化 ClearDictionary<TKey, TValue> 类的新实例。

System_CAPS_pubmethod ClearDictionary<TKey, TValue>(InArgument<IDictionary<TKey, TValue>>)

初始化 ClearDictionary<TKey, TValue> 类的新实例。

属性

名称 说明
System_CAPS_protproperty CacheId

(从 Activity 继承。)

System_CAPS_pubproperty Dictionary

获取或设置目标字典。

System_CAPS_pubproperty DisplayName

(从 Activity 继承。)

System_CAPS_pubproperty Id

(从 Activity 继承。)

System_CAPS_protproperty ImplementationVersion

(从 CodeActivity 继承。)

方法

名称 说明
System_CAPS_pubmethod Equals(Object)

(从 Object 继承。)

System_CAPS_pubmethod GetHashCode()

(从 Object 继承。)

System_CAPS_pubmethod GetType()

(从 Object 继承。)

System_CAPS_pubmethod ToString()

(从 Activity 继承。)

线程安全

此类型的任何公共静态(Visual Basic 中为 Shared)成员都是线程安全的。但不保证所有实例成员都是线程安全的。

请参阅

Microsoft.Activities 命名空间

返回页首