Type::Namespace Property
Gets the namespace of the Type.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Property Value
Type: System::StringThe namespace of the Type; nullptr if the current instance has no namespace, or represents a generic parameter.
A namespace is a logical design-time naming convenience, used mainly to define scope in an application and organize classes and other types in a single hierarchical structure. From the viewpoint of the runtime, there are no namespaces.
If the current Type represents a constructed generic type, this property returns the namespace that contains the generic type definition. Similarly, if the current Type represents a generic parameter T, this property returns the namespace that contains the generic type definition that defines T.
If the current Type object represents a generic parameter, this property returns nullptr.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.
Note: