CompilationUnit.GetOpenDirectives(String) 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.
Returns a look-up that contains the names of all namespaces and the corresponding short hand, if any,
imported within a certain source file for nsName.
public System.Linq.ILookup<string,(string, string?)> GetOpenDirectives (string nsName);
member this.GetOpenDirectives : string -> System.Linq.ILookup<string, ValueTuple<string, string>>
Public Function GetOpenDirectives (nsName As String) As ILookup(Of String, ValueTuple(Of String, String))
Parameters
- nsName
- String
Returns
Exceptions
No namespace exists with name nsName.