ComVisibleAttribute(Boolean) コンストラクター
定義
ComVisibleAttribute
クラスの新しいインスタンスを初期化します。Initializes a new instance of the ComVisibleAttribute
class.
public:
ComVisibleAttribute(bool visibility);
public ComVisibleAttribute (bool visibility);
new System.Runtime.InteropServices.ComVisibleAttribute : bool -> System.Runtime.InteropServices.ComVisibleAttribute
Public Sub New (visibility As Boolean)
パラメーター
- visibility
- Boolean
型が COM から参照できることを示す場合は true
。それ以外の場合は false
。true
to indicate that the type is visible to COM; otherwise, false
. 既定値は、true
です。The default is true
.
注釈
型を COM から参照できるようにするにはtrue
、属性をに設定します。To make types visible to COM, set the attribute to true
. COM の型を非表示にするにはfalse
、属性をに設定します。To hide types from COM, set the attribute to false
.