[]
Attempts to convert an object to a unit value. This method throws an exception if the conversion cannot be performed.
public static Unit FromObject(object obj)
| Type | Name | Description |
|---|---|---|
| object | obj | An object to convert. |
| Type | Description |
|---|---|
| Unit | A unit value representing |