Click or drag to resize

JsonExtensionsAddPropertyEnum Method (JObject, String, Enum, Enum)

[Missing <summary> documentation for "M:Stimulsoft.Base.Json.Linq.JsonExtensions.AddPropertyEnum(Stimulsoft.Base.Json.Linq.JObject,System.String,System.Enum,System.Enum)"]

Namespace:  Stimulsoft.Base.Json.Linq
Assembly:  Stimulsoft.Base (in Stimulsoft.Base.dll) Version: 2019.3.1.0
Syntax
public static void AddPropertyEnum(
	this JObject jObject,
	string propertyName,
	Enum value,
	Enum defaultValue
)

Parameters

jObject
Type: Stimulsoft.Base.Json.LinqJObject

[Missing <param name="jObject"/> documentation for "M:Stimulsoft.Base.Json.Linq.JsonExtensions.AddPropertyEnum(Stimulsoft.Base.Json.Linq.JObject,System.String,System.Enum,System.Enum)"]

propertyName
Type: SystemString

[Missing <param name="propertyName"/> documentation for "M:Stimulsoft.Base.Json.Linq.JsonExtensions.AddPropertyEnum(Stimulsoft.Base.Json.Linq.JObject,System.String,System.Enum,System.Enum)"]

value
Type: SystemEnum

[Missing <param name="value"/> documentation for "M:Stimulsoft.Base.Json.Linq.JsonExtensions.AddPropertyEnum(Stimulsoft.Base.Json.Linq.JObject,System.String,System.Enum,System.Enum)"]

defaultValue
Type: SystemEnum

[Missing <param name="defaultValue"/> documentation for "M:Stimulsoft.Base.Json.Linq.JsonExtensions.AddPropertyEnum(Stimulsoft.Base.Json.Linq.JObject,System.String,System.Enum,System.Enum)"]

Usage Note

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