Edit

Share via


TypeName.FullName Property

Definition

Gets the full name of this type, including namespace, but without the assembly name; for example, "System.Int32". Nested types are represented with a '+'; for example, "MyNamespace.MyType+NestedType".

public:
 property System::String ^ FullName { System::String ^ get(); };
public string FullName { get; }
member this.FullName : string
Public ReadOnly Property FullName As String

Property Value

Remarks

For constructed generic types, the type arguments will be listed using their fully qualified names. For example, given "List<int>", the FullName property will return "System.Collections.Generic.List1[[System.Int32, mscorlib, ...]]". For open generic types, the convention is to use a backtick ("") followed by the arity of the generic type. For example, given "Dictionary<,>", the FullName property will return "System.Collections.Generic.Dictionary2". Given "Dictionary&lt;,&gt;.Enumerator", the <xref data-throw-if-not-resolved="true" uid="System.Reflection.Metadata.TypeName.FullName"></xref> property will return "System.Collections.Generic.Dictionary2+Enumerator". See ECMA-335, Sec. I.10.7.2 (Type names and arity encoding) for more information.

Applies to