WorksharingUtils.GetWorksharingTooltipInfo
Method
Description:
Gets worksharing information about an element to display in an in-canvas tooltip.
Gets worksharing information about an element to display in an in-canvas tooltip.
Remarks:
If there is no element corresponding to the given id, then all the strings returned in WorksharingTooltipInfo are empty.
The return value may not be dependable in the middle of a transaction. See the remarks on WorksharingUtils for more details.
Syntax
public static WorksharingTooltipInfo GetWorksharingTooltipInfo(
Document document,
ElementId elementId
)
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document containing the element |
elementId | ElementId | The id of the element in question |
Return Value
Type | Description |
---|---|
WorksharingTooltipInfo | Worksharing information about the specified element. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |