CallExternalMethodActivity::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)

private:
virtual AccessTypes GetAccessType(
	IServiceProvider^ serviceProvider,
	String^ propertyName
) sealed = IDynamicPropertyTypeProvider::GetAccessType

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 another. Without this interface this information is inferred directly from property getter/setters.

.NET Framework
Available since 3.0
Return to top
Show: