Share via


WritableSharedData.Add Method (WritableSharedDataItem)

 

Adds a shared data item to the shared data. Each item in the writable shared data must have a unique clipboard format.

Namespace:   Microsoft.ManagementConsole
Assembly:  Microsoft.ManagementConsole (in Microsoft.ManagementConsole.dll)

Syntax

public void Add(
    WritableSharedDataItem item
)
public:
void Add(
    WritableSharedDataItem^ item
)
member Add : 
        item:WritableSharedDataItem -> unit
Public Sub Add (
    item As WritableSharedDataItem
)

Parameters

Exceptions

Exception Condition
ArgumentException

The published data already contains an item with the same clipboard format.

See Also

WritableSharedData Class
Microsoft.ManagementConsole Namespace

Return to top