PluginData.GetData Method (Windows Embedded CE 6.0)

1/5/2010

Call this function to get data from the device. The OnGetData method of the data object is called in response to this function call.

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

Syntax

public bool GetData ()
'Declaration
Public Function GetData As Boolean

Return Value

TRUE if the OnGetData call succeeded.

Remarks

The Remote Tools Framework will automatically call this method when the user clicks on a node that is associated with this data and the P:Microsoft.RemoteToolSdk.PluginComponents.PluginData.Initialized property is false.

Once the Initialized property is true, this method will not be called again by the framework unless the user chooses "Refresh" from the Connection menu.

OnGetData will not be called if the plug-in m_OnInitFailed flag is set to TRUE.

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

PluginData Class
PluginData Members
Microsoft.RemoteToolSdk.PluginComponents Namespace