/
aprogrammer
/
dotnet-docs
Обзор
Документация
Войти
/
aprogrammer
/
dotnet-docs
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
samples/snippets/visualbasic/VS_Snippets_VBCSharp/VbXMLSamples/VB/Module1.vb
25 строк
712 B
Andy De George
Move snippets from samples repo to this repo (#17296)
03 мар 2020, 19:23
Не верифицирован
03 мар 2020, 19:23
dbbeda1
Код
Авторство
О чём код?
'<Snippet45> ' Place Imports statements at the top of your program. Imports <xmlns="http://DefaultNamespace"> Imports <xmlns:ns="http://NewNamespace"> Module Module1 Sub Main() ' Create element by using the default global XML namespace. Dim inner = <innerElement/> ' Create element by using both the default global XML namespace ' and the namespace identified with the "ns" prefix. Dim outer = <ns:outer> <ns:innerElement></ns:innerElement> <siblingElement></siblingElement> <%= inner %> </ns:outer> ' Display element to see its final form. Console.WriteLine(outer) End Sub End Module '</Snippet45>