| ValueEditorContextGetValueT Method |
Takes the value, tries to cast it to the specified type and returns it.
Namespace: Slash.Unity.Common.GUI.ValueEditorsAssembly: Slash.Unity.Common (in Slash.Unity.Common.dll) Version: 1.0.6018.40182
Syntax public static T GetValue<T>(
Object objectValue
)
Public Shared Function GetValue(Of T) (
objectValue As Object
) As T
public:
generic<typename T>
static T GetValue(
Object^ objectValue
)
static member GetValue :
objectValue : Object -> 'T
Parameters
- objectValue
- Type: SystemObject
[Missing <param name="objectValue"/> documentation for "M:Slash.Unity.Common.GUI.ValueEditors.ValueEditorContext.GetValue``1(System.Object)"]
Type Parameters
- T
- Expected type of value.
Return Value
Type:
T Value casted to specified type.
Exceptions Exception | Condition |
---|
| Thrown if value isn't of expected type. |
See Also