Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Hello, 

CommandTypesEnum is used as Enum with Flags attribute (implemented in background but not explicitly). In this case you can use it as combination of individual values. For more information see this article

https://docs.microsoft.com/en-us/dotnet/api/system.flagsattribute?view=net-5.0 

 

Here is sample use. This code works, but compiler provides a warning, because the [Flags] attribute is missing in Interop implementation. 

var disabledCommands = CommandTypesEnum.kFileOperationsCmdType | CommandTypesEnum.kFilePropertyEditCmdType;