Assembly: OpenTD.dll A connection contains a handle and a marker. The handle uniquely identifies a TD entity while the marker specifies how to connect to the entity, e.g., which side of a surface to connect to.
Inheritance
object ← ConnectionInherited Members
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()Constructors
Connection(string, int)
Parameters
_Handle string
_Marker int
Connection()
Initializes a new instance of the Connection class.Connection(string)
Initializes a new instance of the Connection class.Parameters
_Handle string
AutoCAD handle.
Connection(DbObject)
Initializes a new instance of the Connection class.Parameters
x DbObject
Gets the AutoCAD handle from this DbObject.
See Also
DbObjectConnection(DbObject, int)
Initializes a new instance of the Connection class.Parameters
x DbObject
Gets the AutoCAD handle from this DbObject.
_Marker int
The marker specifies how to connect to the entity.
See Also
DbObjectFields
Empty
Field Value
ConnectionProperties
Handle
Property Value
stringMarker
Property Value
intMethods
GetDomainName()
Returns
stringIsDomainName()
Returns
boolIsEmpty()
Returns
boolSetDomainName(string)
Parameters
domainName string
ToString()
Returns a string that represents the current object.Returns
string A string that represents the current object.Operators
implicit operator Connection(string)
Parameters
handle string
Returns
Connectionimplicit operator Connection(DbObject)
Parameters
x DbObject
Returns
Connectionimplicit operator List<Connection>(Connection)
Implicitly converts a single element into a one-element list.Parameters
x Connection