Share via


AddToHashtableActivity.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 AddToHashtableActivity
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

AddToHashtableActivity class

AddToHashtableActivity members

Microsoft.SharePoint.WorkflowActions namespace