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
'宣告
Public Property TypeName As String
public string TypeName { get; set; }
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.