Uredi

Deli z drugimi prek


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.List`1[[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.Dictionary`2". Given "Dictionary<,>.Enumerator",

the FullName property will return "System.Collections.Generic.Dictionary`2+Enumerator".

See ECMA-335, Sec. I.10.7.2 (Type names and arity encoding) for more information.

Applies to