EntityMetadata.ActivityTypeMask Property
Applies To: Dynamics CRM 2015
Gets or sets whether a custom activity should appear in the activity menus in the Web application.
Namespace: Microsoft.Xrm.Sdk.Metadata
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Syntax
[DataMemberAttribute]
public Nullable<int> ActivityTypeMask { get; set; }
public:
[DataMemberAttribute]
property Nullable<int> ActivityTypeMask {
Nullable<int> get();
void set(Nullable<int> value);
}
[<DataMemberAttribute>]
member ActivityTypeMask : Nullable<int> with get, set
<DataMemberAttribute>
Public Property ActivityTypeMask As Nullable(Of Integer)
Property Value
Type: System.Nullable<Int32>
Type: Nullable<Int32>
The value indicates whether a custom activity should appear in the activity menus in the Web application.
Remarks
For a custom activity the default value is 1. This means that the custom activity is available in activity menus. Set this property to 0 at the creation of a custom activity to prevent displaying it in the activity menus. This value cannot be updated after the custom activity is created.
See Also
EntityMetadata Class
Microsoft.Xrm.Sdk.Metadata Namespace
Custom activities
Sample: Create a custom activity entity
Return to top
© 2016 Microsoft. All rights reserved. Copyright