Compartilhar via


IInterfaceInfo.Default Property

Definition

Gets a value indicating whether the interface is the default interface.

public:
 property bool Default { bool get(); };
public:
 property bool Default { bool get(); };
[System.Runtime.InteropServices.DispId(1610743812)]
public bool Default { [System.Runtime.InteropServices.DispId(1610743812)] get; }
[<System.Runtime.InteropServices.DispId(1610743812)>]
[<get: System.Runtime.InteropServices.DispId(1610743812)>]
member this.Default : bool
Public ReadOnly Property Default As Boolean

Property Value

true if this is the default interface; otherwise, false.

Attributes

Examples

See Properties.

Remarks

The default interface is the one that the script client (for example, Visual Basic) returns when it creates or acquires the server object. Only one interface can be marked [default] in a given coclass.

Applies to