Class PropertyBagObjectsExtensions
Class with extension methods for Property
Inheritance
Inherited Members
Namespace: EPiServer.Data.Dynamic
Assembly: EPiServer.Data.dll
Version: 9.12.2Syntax
public static class PropertyBagObjectsExtensions
Methods
ToPropertyBag(Object)
Create a Property
Declaration
public static PropertyBag ToPropertyBag(this object value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The System. |
Returns
Type | Description |
---|---|
Property |
A new Property |
ToPropertyBag(Object, IEnumerable<String>)
Create a Property
Declaration
public static PropertyBag ToPropertyBag(this object value, IEnumerable<string> propertyNames)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The System. |
System. |
propertyNames | The names of the properties to extract a place into the property bag |
Returns
Type | Description |
---|---|
Property |
A new Property |