Search Results for

    Show / Hide Table of Contents

    Class ComVisibleAttribute

    Controls accessibility of an individual managed type or member, or of all types within an assembly, to COM.

    Inheritance
    object
    Attribute
    ComVisibleAttribute
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    Namespace: System.Runtime.InteropServices
    Assembly: mscorlib.dll
    Syntax
    [AttributeUsage(AttributeTargets.Assembly|AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Interface|AttributeTargets.Delegate, Inherited = false)]
    public sealed class ComVisibleAttribute : Attribute

    Constructors

    ComVisibleAttribute(bool)

    Initializes a new instance of the ComVisibleAttribute class.

    Declaration
    public ComVisibleAttribute(bool visibility)
    Parameters
    Type Name Description
    bool visibility

    true to indicate that the type is visible to COM; otherwise, false. The default is true.

    Properties

    Value

    Gets a value that indicates whether the COM type is visible.

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

    true if the type is visible; otherwise, false. The default value is true.

    Extension Methods

    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    LogDispatcher.GetCurrentClassLogger(object)
    In This Article
    Back to top Copyright © 2023 nanoFramework Contributors
    Generated by DocFX