Share via


FlagEnumerationEditor Constructor

Initializes a new instance of the FlagEnumerationEditor class.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)

Syntax

'Declaration
Public Sub New ( _
    enumFields As IEnumerable(Of String), _
    displayDelimiter As Char _
)
public FlagEnumerationEditor(
    IEnumerable<string> enumFields,
    char displayDelimiter
)
public:
FlagEnumerationEditor(
    IEnumerable<String^>^ enumFields, 
    wchar_t displayDelimiter
)
new : 
        enumFields:IEnumerable<string> * 
        displayDelimiter:char -> FlagEnumerationEditor
public function FlagEnumerationEditor(
    enumFields : IEnumerable<String>, 
    displayDelimiter : char
)

Parameters

  • enumFields
    Type: IEnumerable<String>

    An array of the names of the enumeration members.

  • displayDelimiter
    Type: Char

    The separator character to use when displaying the property value.

Exceptions

Exception Condition
ArgumentNullException

enumFields is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

FlagEnumerationEditor Class

Microsoft.VisualStudio.Modeling.Design Namespace