alexa
menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class DuplicateLayerNameException

    Thrown when trying to add a layer with a duplicate name into the model.

    Inheritance
    System.Object
    DuplicateLayerNameException
    Namespace: Syncfusion.Windows.Forms.Diagram
    Assembly: Syncfusion.Diagram.Base.dll
    Syntax
    public class DuplicateLayerNameException : Exception

    Constructors

    DuplicateLayerNameException(String)

    Initializes a new instance of the DuplicateLayerNameException class.

    Declaration
    public DuplicateLayerNameException(string layerName)
    Parameters
    Type Name Description
    System.String layerName

    Name of the layer.

    Properties

    LayerName

    Gets layer name that is duplicate.

    Declaration
    public string LayerName { get; }
    Property Value
    Type
    System.String

    Message

    Returns the error message for this exception.

    Declaration
    public override string Message { get; }
    Property Value
    Type
    System.String
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved