Method | Description | |
---|---|---|
Add ( |
Adds a new DbField to the item.
|
|
Add ( |
Adds a child DbItem to the item.
|
|
Add ( ID fieldId, string fieldValue ) : void |
Adds a new field to the item.
|
|
Add ( string fieldName, string fieldValue ) : void |
Adds a new field to the item.
|
|
AddVersion ( string language ) : void |
Adds a new version to the item in specific language.
|
|
AddVersion ( string language, int currentVersion ) : void |
Adds a new version to the item in specific language.
|
|
DbItem ( string name ) : System |
Initializes a new instance of the DbItem class.
|
|
DbItem ( string name, ID id ) : System |
Initializes a new instance of the DbItem class.
|
|
DbItem ( string name, ID id, ID templateId ) : System |
Initializes a new instance of the DbItem class.
|
|
GetVersionCount ( string language ) : int |
Gets the item versions count.
|
|
RemoveVersion ( string language ) : bool |
Removes the item version.
|
|
RemoveVersion ( string language, int version ) : bool |
Removes the item version.
|
Method | Description | |
---|---|---|
IEnumerable ( ) : IEnumerator |
public Add ( ID fieldId, string fieldValue ) : void | ||
fieldId | ID | The field id. |
fieldValue | string | The field value. |
return | void |
public Add ( string fieldName, string fieldValue ) : void | ||
fieldName | string | The field name. |
fieldValue | string | The field value. |
return | void |
public AddVersion ( string language ) : void | ||
language | string | The language. |
return | void |
public AddVersion ( string language, int currentVersion ) : void | ||
language | string | The language. |
currentVersion | int | The current varsion. |
return | void |
public DbItem ( string name ) : System | ||
name | string | The item name. |
return | System |
public DbItem ( string name, ID id ) : System | ||
name | string | The item name. |
id | ID | The item id. |
return | System |
public DbItem ( string name, ID id, ID templateId ) : System | ||
name | string | The item name. |
id | ID | The item id. |
templateId | ID | The template id. |
return | System |
public GetVersionCount ( string language ) : int | ||
language | string | The language. |
return | int |
public RemoveVersion ( string language ) : bool | ||
language | string | The language. |
return | bool |
public RemoveVersion ( string language, int version ) : bool | ||
language | string | The language. |
version | int | The version number. |
return | bool |