Sdílet prostřednictvím


FindValueActivity.IDynamicPropertyTypeProvider.GetAccessType Method

Returns the access type for the specified property.

Namespace:  Microsoft.SharePoint.WorkflowActions.WithKey
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
The access level of the specified property.

Implements

IDynamicPropertyTypeProvider.GetAccessType(IServiceProvider, String)

Remarks

This method throws an ArgumentNullException if serviceProvider or propertyname is null . This method always returns Read.

See Also

Reference

FindValueActivity Class

FindValueActivity Members

Microsoft.SharePoint.WorkflowActions.WithKey Namespace