Interface IDataSource
このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。
A collection of predefined values for fields. Also known as 'option lists'.
Namespace: Stylelabs.M.Sdk.Contracts.Base
Assembly: Stylelabs.M.Sdk.dll
Syntax
Properties
IsSystemOwned
Gets or sets a value indicating whether the datasource is editable. false (default) allows the datasource to be editable, false locks the datasource preventing any further modifications.
Declaration
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Labels
Gets optional translation(s) of the canonical name.
Declaration
Property Value
| Type | Description |
|---|---|
| IDictionary<CultureInfo, System.String> |
Name
Gets the name of the datasource. Can only contain letters, numbers, dots or underscores. Because it is used as an identifier, this also needs to be unique.
Declaration
Property Value
| Type | Description |
|---|---|
| System.String |
Type
Gets the type of the datasource.
Declaration
Property Value
| Type | Description |
|---|---|
| DataSourceType |
Methods
GetDataSourceValues()
Gets a list of the data source values. Use the properties on IFlatDataSource or IHierarchicalDataSource. to make changes.
Declaration
Returns
| Type | Description |
|---|---|
| IList<IDataSourceValue> |