Struct ObjectPath
Represents a D-Bus object path.
public readonly struct ObjectPath
- Inherited Members
Remarks
Only validates that the path is not empty. No validation is performed on the object path format.
Constructors
ObjectPath(string)
Initializes a new instance of the ObjectPath struct.
public ObjectPath(string value)
Parameters
valuestringThe object path.
Remarks
Only validates that the path is not empty. No validation is performed on the object path format.
Methods
ToString()
Returns the string representation of the object path.
public override string ToString()
Returns
Operators
implicit operator ObjectPath(string)
Implicitly converts a string to an ObjectPath.
public static implicit operator ObjectPath(string value)
Parameters
valuestring
Returns
Remarks
Only validates that the path is not empty. No validation is performed on the object path format.
implicit operator string(ObjectPath)
Implicitly converts an ObjectPath to a string.
public static implicit operator string(ObjectPath value)
Parameters
valueObjectPath