WebServiceInputActivity.IDynamicPropertyTypeProvider.GetAccessType Method (IServiceProvider, String)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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 denotes 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: