Class LocalizableSubContent
Subcontent of a particular BCM content element.
Implements
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
[DataContract]
public class LocalizableSubContent : ExtensionDataContainer, ICloneable<LocalizableSubContent>
Constructors
LocalizableSubContent()
Declaration
public LocalizableSubContent()
Properties
Length
Gets or sets the content length.
Declaration
[DataMember(Name = "length")]
public int Length { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The content length. |
ParagraphUnitId
Gets or sets the ParagraphUnit Id holding the content marked by this LocalizableSubContent reference.
Declaration
[DataMember(Name = "paragraphUnitId")]
public string ParagraphUnitId { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The ParagraphUnit Id holding the content marked by this LocalizableSubContent reference. |
SourceTagContentOffset
Gets or sets the offset in the source tag from which the content was extracted.
Declaration
[DataMember(Name = "sourceTagContentOffset")]
public int SourceTagContentOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| int | The offset in the source tag from which the content was extracted. |
Methods
Clone()
Clones this instance.
Declaration
public LocalizableSubContent Clone()
Returns
| Type | Description |
|---|---|
| LocalizableSubContent | A deep clone of this instance. |
Equals(LocalizableSubContent)
Performs a deep-equals comparison.
Declaration
protected bool Equals(LocalizableSubContent other)
Parameters
| Type | Name | Description |
|---|---|---|
| LocalizableSubContent | other | The other item used for comparison. |
Returns
| Type | Description |
|---|---|
| bool |
|
Equals(object)
Performs a deep-equals comparison.
System.Object.Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for this instance. |