API Reference
Class
ConfluenceManagedSection
Builds page-body text with a named section delimited by OfficeIMO markers.
Inheritance
- Object
- ConfluenceManagedSection
Methods
public static ConfluenceManagedSectionResult Apply(String existingBody, String sectionId, String replacement, ConfluenceMissingSectionBehavior missingBehavior = Fail) #Returns:
ConfluenceManagedSectionResultReplaces a marked section, or appends it when allowed, without contacting Confluence.
Parameters
- existingBody System.String
- Current page-body text; a null value is treated as empty.
- sectionId System.String
- Marker identifier: 1-100 ASCII letters, digits, dots, underscores, or hyphens.
- replacement System.String
- New content between the markers; a null value is treated as empty.
- missingBehavior OfficeIMO.Confluence.ConfluenceMissingSectionBehavior = Fail
- Whether to fail or append when both markers are absent.
Returns
The original and updated bodies, creation flag, and SHA-256 digests.
public static String EndMarker(String sectionId) #Returns:
StringBuilds the closing HTML comment marker for a validated section identifier.
Parameters
- sectionId System.String
public static String StartMarker(String sectionId) #Returns:
StringBuilds the opening HTML comment marker for a validated section identifier.
Parameters
- sectionId System.String
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object