Partilhar 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