CustomDictionaryExtensionTryAddTKey, TValue Method

Scanjour Workflow4 Reference Manual

[Missing <summary> documentation for "M:Scanjour.Workflow4.CaseActivityHost.WorkZoneOperations.CustomDictionaryExtension.TryAdd``2(System.Collections.Generic.IDictionary{``0,``1},``0,``1)"]

Namespace:  Scanjour.Workflow4.CaseActivityHost.WorkZoneOperations
Assembly:  Scanjour.Workflow4.CaseActivityHost (in Scanjour.Workflow4.CaseActivityHost.dll) Version: 23.3.0.0 (23.3.0.0)
Syntax

public static bool TryAdd<TKey, TValue>(
	this IDictionary<TKey, TValue> dictionary,
	TKey key,
	TValue value
)

Parameters

dictionary
Type: System.Collections.GenericIDictionaryTKey, TValue

[Missing <param name="dictionary"/> documentation for "M:Scanjour.Workflow4.CaseActivityHost.WorkZoneOperations.CustomDictionaryExtension.TryAdd``2(System.Collections.Generic.IDictionary{``0,``1},``0,``1)"]

key
Type: TKey

[Missing <param name="key"/> documentation for "M:Scanjour.Workflow4.CaseActivityHost.WorkZoneOperations.CustomDictionaryExtension.TryAdd``2(System.Collections.Generic.IDictionary{``0,``1},``0,``1)"]

value
Type: TValue

[Missing <param name="value"/> documentation for "M:Scanjour.Workflow4.CaseActivityHost.WorkZoneOperations.CustomDictionaryExtension.TryAdd``2(System.Collections.Generic.IDictionary{``0,``1},``0,``1)"]

Type Parameters

TKey

[Missing <typeparam name="TKey"/> documentation for "M:Scanjour.Workflow4.CaseActivityHost.WorkZoneOperations.CustomDictionaryExtension.TryAdd``2(System.Collections.Generic.IDictionary{``0,``1},``0,``1)"]

TValue

[Missing <typeparam name="TValue"/> documentation for "M:Scanjour.Workflow4.CaseActivityHost.WorkZoneOperations.CustomDictionaryExtension.TryAdd``2(System.Collections.Generic.IDictionary{``0,``1},``0,``1)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Scanjour.Workflow4.CaseActivityHost.WorkZoneOperations.CustomDictionaryExtension.TryAdd``2(System.Collections.Generic.IDictionary{``0,``1},``0,``1)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDictionaryTKey, TValue. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also

Reference