HandleExternalEventActivity.IDynamicPropertyTypeProvider.GetAccessType Method (IServiceProvider, String)

 

Returns the access type for the specified property.

Namespace:   System.Workflow.Activities
Assembly:  System.Workflow.Activities (in System.Workflow.Activities.dll)

AccessTypes IDynamicPropertyTypeProvider.GetAccessType(
	IServiceProvider serviceProvider,
	string propertyName
)

Parameters

serviceProvider
Type: System.IServiceProvider

An object that implements IServiceProvider to provide access to design time services if they are required.

propertyName
Type: System.String

The name of the property.

Return Value

Type: System.Workflow.ComponentModel.Compiler.AccessTypes

An AccessTypes enumeration value that denote the access level of the property.

Used at compile time to validate whether the properties are correctly bound to one other. Without this interface, this information is inferred directly from property getter/setters.

.NET Framework
Available since 3.0
Return to top
Show: