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
serviceProvider
Type: System.IServiceProviderAn object that implements IServiceProvider to provide access to design-time services.
propertyName
Type: System.StringThe name of the property.
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.