VisualBasicProjectFileManagerImportedNamespaces Property
Gets or sets the imported namespaces.
Namespace: DevCase.Core.Diagnostics.VisualStudio.SolutionAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public SortedSet<string> ImportedNamespaces { get; set; }
Public Property ImportedNamespaces As SortedSet(Of String)
Get
Set
Dim instance As VisualBasicProjectFileManager
Dim value As SortedSet(Of String)
value = instance.ImportedNamespaces
instance.ImportedNamespaces = value
public:
property SortedSet<String^>^ ImportedNamespaces {
SortedSet<String^>^ get ();
void set (SortedSet<String^>^ value);
}
member ImportedNamespaces : SortedSet<string> with get, set
No code example is currently available or this language may not be supported.
Property Value
SortedSetString
The imported namespaces.
This is a code example.
No code example is currently available or this language may not be supported.
Dim vbproj As New VisualBasicProjectFileManager("C:\project.vbproj")
Dim importedNamespaces As SortedSet(Of String) = vbproj.ImportedNamespaces
importedNamespaces.Clear()
importedNamespaces.Add("System")
vbproj.ImportedNamespaces = importedNamespaces
vbproj.Document.Save("C:\modified.vbproj", SaveOptions.None)
Process.Start("notepad.exe", "C:\modified.vbproj")
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.
No code example is currently available or this language may not be supported.