Classe CountDictionary<TKey, TValue>

 

Uma atividade para contar o número de itens em um dicionário.

Namespace:   Microsoft.Activities
Assembly:  Microsoft.Activities (em Microsoft.Activities.dll)

Hierarquia de herança

System.Object
  System.Activities.Activity
    System.Activities.ActivityWithResult
      System.Activities.Activity<TResult>
        System.Activities.CodeActivity<TResult>
          Microsoft.Activities.CountDictionary<TKey, TValue>

Sintaxe

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

Parâmetros de tipo

  • TKey
    O tipo da chave.
  • TValue
    O tipo do valor.

Construtores

Nome Descrição
System_CAPS_pubmethod CountDictionary<TKey, TValue>()

Inicializa uma nova instância da classe CountDictionary<TKey, TValue>.

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

Inicializa uma nova instância da classe CountDictionary<TKey, TValue>.

Propriedades

Nome Descrição
System_CAPS_protproperty CacheId

(herdado de Activity.)

System_CAPS_pubproperty Dictionary

Obtém ou define o dicionário de destino.

System_CAPS_pubproperty DisplayName

(herdado de Activity.)

System_CAPS_pubproperty Id

(herdado de Activity.)

System_CAPS_protproperty ImplementationVersion

(herdado de CodeActivity<TResult>.)

System_CAPS_pubproperty Result

(herdado de Activity<TResult>.)

System_CAPS_pubproperty ResultType

(herdado de ActivityWithResult.)

Métodos

Nome Descrição
System_CAPS_pubmethod Equals(Object)

(herdado de Object.)

System_CAPS_pubmethod GetHashCode()

(herdado de Object.)

System_CAPS_pubmethod GetType()

(herdado de Object.)

System_CAPS_pubmethod ToString()

(herdado de Activity.)

Acesso thread-safe

Qualquer estático público (Compartilhado no Visual Basic) membros desde tipo são thread safe. Não há garantia de que qualquer membro de instância seja thread-safe.

Consulte também

Namespace Microsoft.Activities

Retornar ao topo