Export (0) Print
Expand All

Type Properties

The Type type exposes the following members.

  Name Description
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Assembly Gets the Assembly in which the type is declared. For generic types, gets the Assembly in which the generic type is defined.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 AssemblyQualifiedName Gets the assembly-qualified name of the Type, which includes the name of the assembly from which the Type was loaded.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Attributes Gets the attributes associated with the Type.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 BaseType Gets the type from which the current Type directly inherits.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 ContainsGenericParameters Gets a value indicating whether the current Type object has type parameters that have not been replaced by specific types.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 DeclaringMethod Gets a MethodBase that represents the declaring method, if the current Type represents a type parameter of a generic method.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 DeclaringType Gets the type that declares the current nested type or generic type parameter. (Overrides MemberInfo.DeclaringType.)
Public property Static member Supported by Silverlight for Windows Phone Supported by Xbox 360 DefaultBinder Gets a reference to the default binder, which implements internal rules for selecting the appropriate members to be called by InvokeMember.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 FullName Gets the fully qualified name of the Type, including the namespace of the Type but not the assembly.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 GenericParameterAttributes Gets a combination of GenericParameterAttributes flags that describe the covariance and special constraints of the current generic type parameter.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 GenericParameterPosition Gets the position of the type parameter in the type parameter list of the generic type or method that declared the parameter, when the Type object represents a type parameter of a generic type or a generic method.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 GUID Gets the GUID associated with the Type.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 HasElementType Gets a value indicating whether the current Type encompasses or refers to another type; that is, whether the current Type is an array, a pointer, or is passed by reference.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsAbstract Gets a value indicating whether the Type is abstract and must be overridden.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsAnsiClass Gets a value indicating whether the string format attribute AnsiClass is selected for the Type.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsArray Gets a value indicating whether the Type is an array.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsAutoClass Gets a value indicating whether the string format attribute AutoClass is selected for the Type.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsAutoLayout Gets a value indicating whether the class layout attribute AutoLayout is selected for the Type.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsByRef Gets a value indicating whether the Type is passed by reference.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsClass Gets a value indicating whether the Type is a class; that is, not a value type or interface.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsCOMObject Gets a value indicating whether the Type is a COM object.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsEnum Gets a value indicating whether the current Type represents an enumeration.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsGenericParameter Gets a value indicating whether the current Type represents a type parameter in the definition of a generic type or method.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsGenericType Gets a value indicating whether the current type is a generic type.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsGenericTypeDefinition Gets a value indicating whether the current Type represents a generic type definition, from which other generic types can be constructed.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsImport Gets a value indicating whether the Type has a ComImportAttribute attribute applied, indicating that it was imported from a COM type library.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsInterface Gets a value indicating whether the Type is an interface; that is, not a class or a value type.
Public property Supported by Silverlight for Windows Phone IsNested Gets a value indicating whether the current Type object represents a type whose definition is nested inside the definition of another type.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsNestedAssembly Gets a value indicating whether the Type is nested and visible only within its own assembly.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsNestedFamANDAssem Gets a value indicating whether the Type is nested and visible only to classes that belong to both its own family and its own assembly.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsNestedFamily Gets a value indicating whether the Type is nested and visible only within its own family.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsNestedFamORAssem Gets a value indicating whether the Type is nested and visible only to classes that belong to either its own family or to its own assembly.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsNestedPrivate Gets a value indicating whether the Type is nested and declared private.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsNestedPublic Gets a value indicating whether a class is nested and declared public.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsNotPublic Gets a value indicating whether the Type is not declared public.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsPointer Gets a value indicating whether the Type is a pointer.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsPrimitive Gets a value indicating whether the Type is one of the primitive types.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsPublic Gets a value indicating whether the Type is declared public.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsSealed Gets a value indicating whether the Type is declared sealed.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsSpecialName Gets a value indicating whether the Type has a name that requires special handling.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsUnicodeClass Gets a value indicating whether the string format attribute UnicodeClass is selected for the Type.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsValueType Gets a value indicating whether the Type is a value type.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 IsVisible Gets a value indicating whether the Type can be accessed by code outside the assembly.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 MemberType Gets a MemberTypes value indicating that this member is a type or a nested type. (Overrides MemberInfo.MemberType.)
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 MetadataToken Gets a value that identifies a metadata element. (Inherited from MemberInfo.)
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Module Gets the module (the DLL) in which the current Type is defined.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Name Gets the name of the current member. (Inherited from MemberInfo.)
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 Namespace Gets the namespace of the Type.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 ReflectedType Gets the class object that was used to obtain this member. (Overrides MemberInfo.ReflectedType.)
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 TypeHandle Gets the handle for the current Type.
Public property Supported by Silverlight for Windows Phone Supported by Xbox 360 UnderlyingSystemType Indicates the type provided by the common language runtime that represents this type.
Top

Community Additions

ADD
Show:
© 2014 Microsoft