Show / Hide Table of Contents

    Class CLSCompliantAttribute

    Indicates whether a program element is compliant with the Common Language Specification (CLS). This class cannot be inherited.

    Inheritance
    Object
    Attribute
    CLSCompliantAttribute
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: System
    Assembly: mscorlib.dll
    Syntax
    [AttributeUsage(AttributeTargets.All)]
    public sealed class CLSCompliantAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    CLSCompliantAttribute(Boolean)

    Initializes an instance of the CLSCompliantAttribute class with a Boolean value indicating whether the indicated program element is CLS-compliant.

    Declaration
    public CLSCompliantAttribute(bool isCompliant)
    Parameters
    Type Name Description
    Boolean isCompliant

    true if CLS-compliant; otherwise, false.

    Properties

    | Improve this Doc View Source

    IsCompliant

    GGets the Boolean value indicating whether the indicated program element is CLS-compliant.

    Declaration
    public bool IsCompliant { get; }
    Property Value
    Type Description
    Boolean

    true if the program element is CLS-compliant; otherwise, false.

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2018 nanoFramework Contributors
    Generated by DocFX