ExpandoObjectExtensions.FixCaseForKey Method

Relativity Services API
Finds the case-sensitive representation of a key that a ExpandoObject is using.

Namespace:  Relativity.Services.Objects.Extensions
Assembly:  Relativity.Services.Interfaces (in Relativity.Services.Interfaces.dll) Version: 640db774aa42dfbe1785add27fbb41844ec5c7d4
Syntax

public static string FixCaseForKey(
	this ExpandoObject expando,
	string key
)

Parameters

expando
Type: System.Dynamic.ExpandoObject
The ExpandoObject to search.
key
Type: System.String
The case-insensitive key to search for.

Return Value

Type: String
Returns the case-sensitive representation of an ExpandoObject corresponding to the key passed to this method. Returns null if the key is not found.

Usage Note

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