Method PublishBoolean
PublishBoolean(DocumentId, string, SmartBoolean)
Creates a Boolean publishing entity in a document.
Declaration
[OperationContract]
[AvailableSinceVersion(7, 8, 0, 0)]
ElementId PublishBoolean(DocumentId inDocumentId, string inDescription, SmartBoolean inDefinition)
Parameters
| Type | Name | Description |
|---|---|---|
| DocumentId | inDocumentId | Identifier of the document to modify. |
| string | inDescription | Publishing description. |
| SmartBoolean | inDefinition | Publishing definition. |
Returns
| Type | Description |
|---|---|
| ElementId | Identifier of the created publishing entity. |
Remarks
StartModification(string, bool) and EnsureIsDirty(ref DocumentId) must be called before calling this method.
This method is available since v7.8.