ITypeName Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The name and attributes of a type.
public interface class ITypeName
public interface ITypeName
[System.Runtime.CompilerServices.NullableContext(1)]
public interface ITypeName
type ITypeName = interface
[<System.Runtime.CompilerServices.NullableContext(1)>]
type ITypeName = interface
Public Interface ITypeName
- Derived
- Attributes
Properties
AssemblyName |
The name of the assembly, if specified, otherwise null. |
Extent |
The extent of the typename. |
FullName |
The full name of the type, including any namespace and assembly name. |
IsArray |
Returns true if the type names an array, false otherwise. |
IsGeneric |
Returns true if the type names a closed generic type (has generic type arguments), false otherwise. |
Name |
The name of the type, including any namespace, but not including the assembly name. |
Methods
GetReflectionAttributeType() |
Assuming the typename is an attribute, returns the Type that this typename represents. By convention, the typename may omit the suffix "Attribute". Lookup will attempt to resolve the type as is, and if that fails, the suffix "Attribute" will be appended. |
GetReflectionType() |
Returns the Type that this typename represents, if such a type exists, null otherwise. |