Class PlaceholderTagDefinition
Definition of a Placeholder. Can be referenced by multiple PlaceholderTag elements.
Inheritance
Implements
Inherited Members
Namespace: Sdl.Core.Bcm.BcmModel.Skeleton
Assembly: Sdl.Core.Bcm.BcmModel.dll
Syntax
public class PlaceholderTagDefinition : SkeletonItem, ICloneable<PlaceholderTagDefinition>
Constructors
PlaceholderTagDefinition()
Initializes a new instance of the PlaceholderTagDefinition class.
Declaration
public PlaceholderTagDefinition()
Properties
DisplayText
Gets or sets the display text.
Declaration
public string DisplayText { get; set; }
Property Value
Type | Description |
---|---|
System.String | The display text. |
QuickInsertId
Gets or sets the QuickInsert ID of the tag.
Declaration
public string QuickInsertId { get; set; }
Property Value
Type | Description |
---|---|
System.String | The QuickInsert ID of the tag. |
SegmentationHint
Gets or sets the segmentation hint.
Declaration
public SegmentationHint SegmentationHint { get; set; }
Property Value
Type | Description |
---|---|
SegmentationHint | The segmentation hint. |
SubContent
Gets or sets the SubContentCollection of the placeholder tag.
Declaration
public SubContentCollection SubContent { get; set; }
Property Value
Type | Description |
---|---|
SubContentCollection | The SubContentCollection of the tag. |
TagContent
Gets or sets the raw Placeholder tag content.
Declaration
public string TagContent { get; set; }
Property Value
Type | Description |
---|---|
System.String | The raw Placeholder tag content of the tag. |
TextEquivalent
Gets or sets the tag text equivalent.
Declaration
public string TextEquivalent { get; set; }
Property Value
Type | Description |
---|---|
System.String | The tag text equivalent. |
Methods
Clone()
Clones this instance.
Declaration
public PlaceholderTagDefinition Clone()
Returns
Type | Description |
---|---|
PlaceholderTagDefinition | A new clone of this instance. |
Equals(PlaceholderTagDefinition)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(PlaceholderTagDefinition other)
Parameters
Type | Name | Description |
---|---|---|
PlaceholderTagDefinition | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
System.Boolean | 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 |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for this instance. |