string Name { get; set; }

robot_2Generated
code_blocksInput

Description

The Name property of the Connection class represents the name associated with a particular connection. This property is virtual, allowing derived classes to override its behavior if necessary.

Usage

Use the Name property to retrieve or set the name of a connection. This can be useful for identifying connections in a user-friendly manner, such as displaying the name in a user interface or logging connection details.

Example

// Example of accessing the Name property
Connection connection = Connection.Find(someGuid);
string connectionName = connection.Name;

// Example of setting the Name property
connection.Name = "Player1";