ExtensionMethodsSafeGetTKey, TVal Method

Scanjour Workflow4 Reference Manual

[Missing <summary> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.SafeGet``2(System.Collections.Generic.IDictionary{``0,``1},``0)"]

Namespace:  WorkZone.Dispatcher.Base.Messages
Assembly:  WorkZone.Dispatcher.Base_23.1.0.0 (in WorkZone.Dispatcher.Base_23.1.0.0.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax

public static TVal SafeGet<TKey, TVal>(
	this IDictionary<TKey, TVal> dictionary,
	TKey key
)

Parameters

dictionary
Type: System.Collections.GenericIDictionaryTKey, TVal

[Missing <param name="dictionary"/> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.SafeGet``2(System.Collections.Generic.IDictionary{``0,``1},``0)"]

key
Type: TKey

[Missing <param name="key"/> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.SafeGet``2(System.Collections.Generic.IDictionary{``0,``1},``0)"]

Type Parameters

TKey

[Missing <typeparam name="TKey"/> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.SafeGet``2(System.Collections.Generic.IDictionary{``0,``1},``0)"]

TVal

[Missing <typeparam name="TVal"/> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.SafeGet``2(System.Collections.Generic.IDictionary{``0,``1},``0)"]

Return Value

Type: TVal

[Missing <returns> documentation for "M:WorkZone.Dispatcher.Base.Messages.ExtensionMethods.SafeGet``2(System.Collections.Generic.IDictionary{``0,``1},``0)"]

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDictionaryTKey, TVal. 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