 | DynamicUserControlViewModelBaseGetResultPropertyT Method |
Retrieves a property with the name propertyName of type T
from the ReturnObject of the owning Vishnu node.
The ReturnObject must be of the type requiredReturnObjectType.
Namespace: Vishnu.ViewModelAssembly: Vishnu.ViewModel (in Vishnu.ViewModel.dll) Version: 1.0.0+df0404e911d6c38eaed3bb1bb1acfc482d417643
Syntaxprotected T GetResultProperty<T>(
Type requiredReturnObjectType,
string propertyName
)
Protected Function GetResultProperty(Of T) (
requiredReturnObjectType As Type,
propertyName As String
) As T
protected:
generic<type name T>
T GetResultProperty(
Type^ requiredReturnObjectType,
String^ propertyName
)
member GetResultProperty :
requiredReturnObjectType : Type *
propertyName : string -> 'T
Parameters
- requiredReturnObjectType Type
- Type of the ReturnObject of the owning node.
- propertyName String
- Name of the property searched for or null. If null, the ReturnObject itself is returned.
Type parameters
- T
- Type of property searched for.
Return value
TProperty from the ReturnObject of the owning Vishnu node.
See also