Partilhar via


FindValueActivity.IDynamicPropertyTypeProvider.GetPropertyType Method

Returns the Type of the specified property and service.

Namespace:  Microsoft.SharePoint.WorkflowActions
Assembly:  Microsoft.SharePoint.WorkflowActions (in Microsoft.SharePoint.WorkflowActions.dll)

Syntax

'Declaration
Private Function GetPropertyType ( _
    serviceProvider As IServiceProvider, _
    propertyName As String _
) As Type Implements IDynamicPropertyTypeProvider.GetPropertyType
'Usage
Dim instance As FindValueActivity
Dim serviceProvider As IServiceProvider
Dim propertyName As String
Dim returnValue As Type

returnValue = CType(instance, IDynamicPropertyTypeProvider).GetPropertyType(serviceProvider, _
    propertyName)
TypeIDynamicPropertyTypeProvider.GetPropertyType(
    IServiceProvider serviceProvider,
    string propertyName
)

Parameters

  • serviceProvider
    Type: System.IServiceProvider

    An object that implements IServiceProvider to provide access to design time services if they are required.

Return Value

Type: System.Type
The Type for the property whose name is passed as the propertyName parameter.

Implements

IDynamicPropertyTypeProvider.GetPropertyType(IServiceProvider, String)

Remarks

Used at compile time to validate whether the properties are correctly bound to one other.

See Also

Reference

FindValueActivity Class

FindValueActivity Members

Microsoft.SharePoint.WorkflowActions Namespace