This documentation is archived and is not being maintained.

CodeTypeReference.BaseType Property

Gets or sets the name of the data type being referenced.

[Visual Basic]
Public Property BaseType As String
public string BaseType {get; set;}
public: __property String* get_BaseType();
public: __property void set_BaseType(String*);
public function get BaseType() : String;
public function set BaseType(String);

Property Value

The name of the data type being referenced.


This property will contain the name of the type unless it is an array type, in which case it will be the array element type.

Note   The name of the property may be misleading. This property contains just the type name with any array adornments removed, not the base or parent type as might be expected.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CodeTypeReference Class | CodeTypeReference Members | System.CodeDom Namespace