UtilReflectionTypeHasPublicConstructor Method
Determines whether the source Type has defined at least one public constructor.
Namespace: DevCase.Core.Diagnostics.Assembly.ReflectionAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static bool TypeHasPublicConstructor(
Type type
)
Public Shared Function TypeHasPublicConstructor (
type As Type
) As Boolean
Dim type As Type
Dim returnValue As Boolean
returnValue = UtilReflection.TypeHasPublicConstructor(type)
public:
static bool TypeHasPublicConstructor(
Type^ type
)
static member TypeHasPublicConstructor :
type : Type -> bool
No code example is currently available or this language may not be supported.
- type Type
-
The source Type.
Boolean
Returns
if the source
Type
has defined at least one public constructor;
otherwise,
.
This is a code example.
No code example is currently available or this language may not be supported.
Dim type As Type = GetType(Rectangle)
Dim result As Boolean = TypeHasPublicConstructor(type)
Console.WriteLine(result)
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.