Share via


ActivityPropertiesAttribute.ShouldCache property

Gets or sets whether the metadata should be cached for use in subroutines.

Namespace:  Microsoft.SharePoint.WorkflowServices.Activities
Assembly:  Microsoft.SharePoint.WorkflowServices.Activities (in Microsoft.SharePoint.WorkflowServices.Activities.dll)

Syntax

'Declaration
Public Property ShouldCache As Boolean
    Get
    Set
'Usage
Dim instance As ActivityPropertiesAttribute
Dim value As Boolean

value = instance.ShouldCache

instance.ShouldCache = value
public bool ShouldCache { get; set; }

Property value

Type: System.Boolean
true if the metadata should be cached, otherwise false.

See also

Reference

ActivityPropertiesAttribute class

ActivityPropertiesAttribute members

Microsoft.SharePoint.WorkflowServices.Activities namespace