Click or drag to resize

SystemTypeExtensionsToVariable Method

Turn a string into a variable, such as, we have class: Workflow, and we want to generate the variable name: workflow

Namespace:  Casewhere.SystemTypes
Assembly:  Casewhere.SystemTypes (in Casewhere.SystemTypes.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public static string ToVariable(
	this string name
)

Parameters

name
Type: SystemString

[Missing <param name="name"/> documentation for "M:Casewhere.SystemTypes.SystemTypeExtensions.ToVariable(System.String)"]

Return Value

Type: String

[Missing <returns> documentation for "M:Casewhere.SystemTypes.SystemTypeExtensions.ToVariable(System.String)"]

Usage Note

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