CodeCarvings.Piczard
TryGetValue Method
See Also  Send Feedback
CodeCarvings.Piczard.Plugins Namespace > ReadOnlyPluginDictionary Class : TryGetValue Method

key
The PluginName of the Plugin to get.
value
When this method returns, contains the Plugin associated with the specified PluginName, if the key is found; otherwise, null. This parameter is passed uninitialized.
Gets the Plugin associated with the specified PluginName.

Syntax

Visual Basic (Declaration)  
Public Function TryGetValue( _
   ByVal key As String, _
   ByRef value As Plugin _
) As Boolean
C#  
public bool TryGetValue( 
   string key,
   out Plugin value
)

Parameters

key
The PluginName of the Plugin to get.
value
When this method returns, contains the Plugin associated with the specified PluginName, if the key is found; otherwise, null. This parameter is passed uninitialized.

Return Value

true if the ReadOnlyPluginDictionary contains a Plugin with the specified PluginName; otherwise, false.

Requirements

Platforms: Windows 8, Windows 7, Windows Vista, Windows XP Professional, Windows 2000 - Windows Server family: 2012, 2008.R2, 2008, 2003, 2000

See Also

©2013 Sergio Turolla. All Rights Reserved.