ItemValuesCreateValue Method (String, Object, DataType, EntityCollectionValueAttribute, Boolean, Boolean) |
Creates a value at the given path.
Namespace: ConnectedApps.Cms.EntitiesAssembly: ConnectedApps.Cms (in ConnectedApps.Cms.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic void CreateValue(
string path,
Object valueContent,
DataType dataType,
EntityCollection<ValueAttribute> attributes,
bool searchable,
bool reference
)
Public Sub CreateValue (
path As String,
valueContent As Object,
dataType As DataType,
attributes As EntityCollection(Of ValueAttribute),
searchable As Boolean,
reference As Boolean
)
public:
void CreateValue(
String^ path,
Object^ valueContent,
DataType dataType,
EntityCollection<ValueAttribute^>^ attributes,
bool searchable,
bool reference
)
member CreateValue :
path : string *
valueContent : Object *
dataType : DataType *
attributes : EntityCollection<ValueAttribute> *
searchable : bool *
reference : bool -> unit
Parameters
- path
- Type: SystemString
The path to create the value. - valueContent
- Type: SystemObject
The content of the value in the data type specified in dataType. - dataType
- Type: ConnectedApps.Cms.EntitiesDataType
The data type of the value content. - attributes
- Type: ConnectedApps.Cms.EntitiesEntityCollectionValueAttribute
The collection of attributes on the value. - searchable
- Type: SystemBoolean
If true, indicating the value is indexed and can be found using an index value filter. - reference
- Type: SystemBoolean
If true, indicating the value and all sub values can have a different structure across languages.
See Also