Type::FullName Property
Collapse the table of content
Expand the table of content

Type::FullName Property

 

Retrieves the fully-qualified name of the current type in the form “Namespace.Type”.

String^ FullName();

The name of the type.


//  namespace is TestApp
MainPage::MainPage()
{
    InitializeComponent();
    Type^ t = this->GetType();
    auto s = t->FullName; // returns “TestApp.MainPage”
    auto s2 = t->ToString(); //also returns “TestApp.MainPage”
}

Requirements

Minimum supported client: Windows 8

Minimum supported server: Windows Server 2012

Namespace: Platform

Metadata: platform.winmd

Show:
© 2016 Microsoft