Class StructureTagDefinition
Definition of a StructureTag. Can be referenced by multiple StructureTag elements.
Implements
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel.Skeleton
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
[DataContract]
public class StructureTagDefinition : SkeletonItem, IEquatable<MetadataContainer>, IEquatable<SkeletonItem>, ICloneable<StructureTagDefinition>, IEquatable<StructureTagDefinition>
Constructors
StructureTagDefinition()
Declaration
public StructureTagDefinition()
Properties
DisplayText
Gets or sets the display text.
Declaration
[DataMember(Name = "displayText", EmitDefaultValue = false)]
public string DisplayText { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The display text. |
SubContent
Gets or sets the localizable sub-content.
Declaration
[DataMember(Name = "subContent", EmitDefaultValue = false)]
public SubContentCollection SubContent { get; set; }
Property Value
| Type | Description |
|---|---|
| SubContentCollection | The localizable sub-content. |
TagContent
Gets or sets the content of the tag.
Declaration
[DataMember(Name = "tagContent", EmitDefaultValue = false)]
public string TagContent { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The content of the tag. |
Methods
Clone()
Clones this instance.
Declaration
public StructureTagDefinition Clone()
Returns
| Type | Description |
|---|---|
| StructureTagDefinition | A clone of this instance. |
Equals(StructureTagDefinition)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(StructureTagDefinition other)
Parameters
| Type | Name | Description |
|---|---|---|
| StructureTagDefinition | other | An object to compare with this object. |
Returns
| Type | Description |
|---|---|
| bool | true if the current object is equal to the |
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. |