SharedData.Add Method (SharedDataItem)
Adds a SharedDataItem to the set of shared data items. Each item in the set must have a unique clipboard format.
Namespace: Microsoft.ManagementConsole
Assembly: Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)
Syntax
public void Add(
SharedDataItem item
)
public:
void Add(
SharedDataItem^ item
)
member Add :
item:SharedDataItem -> unit
Public Sub Add (
item As SharedDataItem
)
Parameters
item
Type: Microsoft.ManagementConsole.SharedDataItemThe shared data item to be added.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The published data already contains an item with the same clipboard format as the item that is being added. |
See Also
SharedData Class
Microsoft.ManagementConsole Namespace
Return to top