PluginComponent.AddData Method (Compact 7)

3/12/2014

Call this method to add a data item to the list of data items for your plug-in.

Namespace: Microsoft.RemoteToolSdk.PluginComponents
Assembly: Microsoft.RemoteToolSdk (in microsoft.remotetoolsdk.dll)

Syntax

public void AddData (
    PluginData data
)
'Declaration
Public Sub AddData ( _
    data As PluginData _
)

Parameters

  • data
    PluginData object to add.

Remarks

You are allowed to call this method from the OnInit function only. You must call AddData for each data item that you create if you want the framework to update it when applicable.

If you do not call AddData, it will be your responsibility to call GetData on the data object.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.

See Also

Reference

PluginComponent Class
PluginComponent Members
Microsoft.RemoteToolSdk.PluginComponents Namespace