Freigeben über


VirtualTypeBuilder.TypeName Property

Gets or sets the type name for the virtual type.

Namespace:  Microsoft.VisualStudio.Shell.Design
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Property TypeName As String
    Get
    Set
'Usage
Dim instance As VirtualTypeBuilder
Dim value As String

value = instance.TypeName

instance.TypeName = value
public string TypeName { get; set; }
public:
property String^ TypeName {
    String^ get ();
    void set (String^ value);
}
member TypeName : string with get, set
function get TypeName () : String
function set TypeName (value : String)

Property Value

Type: System.String
The type name.

Exceptions

Exception Condition
ArgumentException

The provided type name does not conform to a valid type name. Valid type names are defined as names consisting of letters, numbers, an underscore and one or more “.” or “+” characters.

Remarks

The type name should be the fully qualified name that is reported as the type name through reflection. The simple type name will be fabricated by parsing the full type name. The default value of this property is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

VirtualTypeBuilder Class

VirtualTypeBuilder Members

Microsoft.VisualStudio.Shell.Design Namespace