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: CharThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.