TypeExtensions.IsProtected Method
Definition
Returns true if the type is protected as viewed from an external assembly, i.e. its Accessibility is Protected or ProtectedInternal; false otherwise.
public static bool IsProtected(this Type type);
Parameters
Name | Type | Description |
|---|---|---|
type | The type. |
Returns
true if the type is Protected or ProtectedInternal; false otherwise.
Last modified: 17 December 2024