EditableRangeEnd Class
Represents the end of an editable range permission.
public sealed class EditableRangeEnd : InlinePublic NotInheritable Class EditableRangeEnd
Inherits Inline- Inheritance:
- System.ObjectEditableRangeEnd
Remarks
EditableRangeEnd element is used in a pair with EditableRangeStart element to mark a region of the document that specific users or groups are allowed to edit when document protection is active.
For EditableRangeStart and EditableRangeEnd to be considered as a pair, their Ids must match.
Constructors
EditableRangeEnd(DocumentModel, String)
Initializes a new instance of the EditableRangeEnd class.
public EditableRangeEnd(DocumentModel document, string id)Public Sub New(document As DocumentModel, id As String)Parameters
document- DocumentModel
The owner document.
id- System.String
The identifier that pairs this element with a EditableRangeStart.
Properties
ElementType
Gets the ElementType of this Element instance.
public override ElementType ElementType { get; }Public Overrides ReadOnly Property ElementType As ElementTypeProperty Value
The ElementType of this Element instance.
Overrides
Id
Gets the identifier that pairs this element with a EditableRangeStart.
Property Value
- System.String
Methods
Clone()
Clones this EditableRangeEnd instance.
Returns
Cloned EditableRangeEnd.
Remarks
Document content element instance can exist only in a one place in the document.
If you want to insert document content element into some other part of the same document, then clone the element and insert its clone.
If you want to insert document content element into another document, then you should first import it into another document with Import<T>(T, Boolean, Boolean) method and then insert the imported element.
For more information, see cloning example.
Inherited Properties
| Content | Gets the content of the current Element. (Inherited from Element) |
| Document | Gets the owner document. (Inherited from Element) |
| Parent | Gets the parent of this Element instance. (Inherited from Element) |
| ParentCollection | Gets the InlineCollection that contains this Inline instance. (Inherited from Inline) |
| Revision | Gets or sets the revision information for the inline. (Inherited from Inline) |
Inherited Methods
| Clone(System.Boolean) | Clones this Inline instance. (Inherited from Inline) |
| GetChildElements(System.Boolean) | Gets the child elements. (Inherited from Element) |
| GetChildElements(System.Boolean, ElementType[]) | Gets the child elements filtered by ElementType. (Inherited from Element) |
| GetParentElements() | Gets the parent elements. (Inherited from Element) |
| GetParentElements(ElementType[]) | Gets the parent elements. (Inherited from Element) |