MCQ Single Best Answer Easy

QWhich of the following statements is true regarding extending enums in Visual Studio?

ID: #13839 Extension in D365 F&O 170 views
Question Info
#13839Q ID
EasyDifficulty
Extension in D365 F&OTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A Enums, where the IsExtensible property is set to True, can be extended.
  • B Any enum in Visual Studio can be extended.
  • C Only enums that are contained in the Application Suite model can be extended.
  • D Enums, where the IsExtensible property is set to False, can be extended.
Correct Answer: Option A

Explanation

Justification:
  • A. correct: The IsExtensible property of the enum must be set to True to be able to create an extension.
  • B. Incorrect: Not every enum in Visual Studio can be extended. The IsExtensible property must be set to True and you must be referencing the model that contains the enum.
  • C. Incorrect: Enums that are contained in other models can be extended if the IsExtensible property is set to True and you're referencing the model that contains the enum.
  • D. Incorrect: The IsExtensible property for the enum must be set to True, not False, to be able to create an extension of that enum.

Related Topic: Explore extensions and the extension framework in finance and operations apps

Share This Question

Challenge a friend or share with your study group.