GetValue(T) Method (T, InstanceDependencyProperty)
Get the value of an InstanceDependencyProperty at design time.
Namespace: Microsoft.Rtc.Workflow.Activities
Assembly: Microsoft.Rtc.Workflow (in Microsoft.Rtc.Workflow.dll)
Syntax
'Declaration
Public Shared Function GetValue(Of T As {Activity, IInstanceDependencyContainer}) ( _
dependencyObject As T, _
property As InstanceDependencyProperty _
) As Object
public static Object GetValue<T>(
T dependencyObject,
InstanceDependencyProperty property
)
where T : Activity, IInstanceDependencyContainer
public:
generic<typename T>
where T : Activity, IInstanceDependencyContainer
static Object^ GetValue(
T dependencyObject,
InstanceDependencyProperty^ property
)
JavaScript does not support generic types or methods.
Parameters
- dependencyObject
Type: T
The dependency object containing the property.
- property
Type: Microsoft.Rtc.Workflow.Activities..::.InstanceDependencyProperty
The property.
Type Parameters
- T
A specific Activity or IInstanceDependencyContainer type.
Return Value
The value of the property.
Exceptions
Exception | Condition |
---|---|
SerializationException | SerializationStream supports seeking, but its length is 0. |