ExtensionMethodsConvertToJson Method
Namespace: Centralpoint.WebAssembly: Centralpoint.Web (in Centralpoint.Web.dll) Version: 1.0.0.0 (1.0.0.0)
public static string ConvertToJson(
this NameValueCollection coll,
Formatting formatting = Formatting.None
)
<ExtensionAttribute>
Public Shared Function ConvertToJson (
coll As NameValueCollection,
Optional formatting As Formatting = Formatting.None
) As String
- coll NameValueCollection
-
- formatting Formatting (Optional)
-
StringIn 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).