%matlab.metadata.EnumerationMember   Describe enumeration member of MATLAB class
%    The matlab.metadata.EnumerationMember class contains descriptive information
%    about enumeration members defined by MATLAB classes.  Properties of a
%    matlab.metadata.EnumerationMember instance correspond to attributes of
%    the enumeration member being described.
%
%    All matlab.metadata.EnumerationMember properties are read-only.  You can
%    query the matlab.metadata.EnumerationMember instance to obtain information 
%    about the enumeration member it describes.
%
%    Obtain a matlab.metadata.EnumerationMember instance from the EnumerationMemberList
%    property of the matlab.metadata.Class instance.  EnumerationMemberList is an
%    array of matlab.metadata.EnumerationMember instances, one per enumeration member.
%    
%    %Example 1: Examine the properties of the matlab.metadata.EnumerationMember
%    %class
%    tf = matlab.lang.OnOffSwitchState.on;
%    mc = metaclass(tf);
%    enum = mc.EnumerationMemberList;
%    properties(enum)
%
%    % Example 2: Examine the matlab.metadata.EnumerationMember for the
%    %first member of the OnOffSwitchState enumeration class
%    mc = ?matlab.lang.OnOffSwitchState; 
%    elist = mc.EnumerationMemberList; 
%    elist(1)
%
%    See also matlab.metadata.Class, enumeration

%   Copyright 2010-2023 The MathWorks, Inc. 
%   Built-in class.
