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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.