VisualBasicExtensions.RootNamespace(Compilation) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the compilation RootNamespace property.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::CodeAnalysis::INamespaceSymbol ^ RootNamespace(Microsoft::CodeAnalysis::Compilation ^ compilation);
public static Microsoft.CodeAnalysis.INamespaceSymbol RootNamespace (this Microsoft.CodeAnalysis.Compilation compilation);
static member RootNamespace : Microsoft.CodeAnalysis.Compilation -> Microsoft.CodeAnalysis.INamespaceSymbol
<Extension()>
Public Function RootNamespace (compilation As Compilation) As INamespaceSymbol
Parameters
- compilation
- Compilation
A source Compilation object.
Returns
A NamespaceSymbol instance, for the compilation instance RootNamespace property. otherwise Null if compilation instance is Null.
Applies to
Spolupracujte s námi na GitHubu
Zdroj tohoto obsahu najdete na GitHubu, kde můžete také vytvářet a kontrolovat problémy a žádosti o přijetí změn. Další informace najdete v našem průvodci pro přispěvatele.