Partilhar via


FindValueActivity.IDynamicPropertyTypeProvider.GetAccessType Method

Returns the access type for the specified property.

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

Syntax

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

returnValue = CType(instance, IDynamicPropertyTypeProvider).GetAccessType(serviceProvider, _
    propertyName)
AccessTypesIDynamicPropertyTypeProvider.GetAccessType(
    IServiceProvider serviceProvider,
    string propertyName
)

Parameters

Return Value

Type: System.Workflow.ComponentModel.Compiler.AccessTypes
An AccessTypes enumeration value that denotes the access level of the property.

Implements

IDynamicPropertyTypeProvider.GetAccessType(IServiceProvider, String)

Remarks

Used at compile time to validate whether the properties are correctly bound to one other. Without this interface, the information is inferred directly from the get accessors and set accessors of the property.

See Also

Reference

FindValueActivity Class

FindValueActivity Members

Microsoft.SharePoint.WorkflowActions Namespace