Partager via


FlagEnumerationEditor Constructor

Initializes a new instance of the FlagEnumerationEditor class.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.12.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

  • displayDelimiter
    Type: System.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