ExtensionMethodsTryGetValue Method
Namespace: Centralpoint.WebAssembly: Centralpoint.Web (in Centralpoint.Web.dll) Version: 1.0.0.0 (1.0.0.0)
public static bool TryGetValue(
this NameValueCollection coll,
string id,
out string value,
bool falseIfWhiteSpace = false,
bool falseIfEmpty = true
)
<ExtensionAttribute>
Public Shared Function TryGetValue (
coll As NameValueCollection,
id As String,
<OutAttribute> ByRef value As String,
Optional falseIfWhiteSpace As Boolean = false,
Optional falseIfEmpty As Boolean = true
) As Boolean
- coll NameValueCollection
-
- id String
-
- value String
-
- falseIfWhiteSpace Boolean (Optional)
-
- falseIfEmpty Boolean (Optional)
-
BooleanIn Visual Basic and C#, you can call this method as an instance method on any object of type
NameValueCollection. 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).