bool CanRefreshObjects { get; set; }

robot_2Generated
code_blocksInput

Description

The CanRefreshObjects property indicates whether the current connection has the capability to refresh networked objects that it owns. This is a boolean property, meaning it returns either true or false.

Usage

Use the CanRefreshObjects property to check if a connection can refresh its owned networked objects. This can be useful in scenarios where you need to determine if a connection has the necessary permissions or capabilities to update the state of objects it controls.

Example

// Example of checking if a connection can refresh objects
Connection connection = ...; // Assume this is an existing connection

if (connection.CanRefreshObjects)
{
    // The connection can refresh its owned objects
    // Perform refresh operations here
}
else
{
    // The connection cannot refresh its owned objects
    // Handle accordingly
}