<PackageReference Include="System.Drawing.Common" Version="9.0.5" />

CategoryNameCollection

Represents a collection of category name strings.
using System.Collections; using System.Runtime.CompilerServices; namespace System.Drawing.Design { [System.Runtime.CompilerServices.NullableContext(1)] [System.Runtime.CompilerServices.Nullable(0)] public sealed class CategoryNameCollection : ReadOnlyCollectionBase { public string this[int index] { get { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } public CategoryNameCollection(CategoryNameCollection value) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public CategoryNameCollection(string[] value) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public bool Contains(string value) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public void CopyTo(string[] array, int index) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } public int IndexOf(string value) { throw new PlatformNotSupportedException(System.SR.SystemDrawingCommon_PlatformNotSupported); } } }