Επεξεργασία

Κοινή χρήση μέσω


_MethodBase.IsFamilyOrAssembly Property

Definition

Provides COM objects with version-independent access to the IsFamilyOrAssembly property.

public:
 property bool IsFamilyOrAssembly { bool get(); };
public bool IsFamilyOrAssembly { get; }
member this.IsFamilyOrAssembly : bool
Public ReadOnly Property IsFamilyOrAssembly As Boolean

Property Value

true if access to this method is restricted to members of the class itself, members of derived classes wherever they are, and members of other classes in the same assembly; otherwise, false.

Remarks

This property is for access to managed classes from unmanaged code and should not be called from managed code.

The IsFamilyOrAssembly property gets a value indicating whether this method can be called by derived classes, wherever they are, and by all classes in the same assembly.

Applies to